@ -0,0 +1,16 @@
#include "storm/logic/FormulaContext.h"
namespace storm {
namespace logic {
std::ostream& operator<<(std::ostream& out, FormulaContext const& formulaContext) {
switch(formulaContext) {
case storm::logic::FormulaContext::Undefined: out << "Undefined"; break;
case storm::logic::FormulaContext::Probability: out << "Probability"; break;
case storm::logic::FormulaContext::Reward: out << "Reward"; break;
case storm::logic::FormulaContext::LongRunAverage: out << "LongRunAverage"; break;
case storm::logic::FormulaContext::Time: out << "Time"; break;
}
return out;
@ -1,11 +1,13 @@
#ifndef STORM_LOGIC_FORMULACONTEXT_H_
#define STORM_LOGIC_FORMULACONTEXT_H_
#include <sstream>
enum class FormulaContext { Undefined, Probability, Reward, LongRunAverage, Time };
std::ostream& operator<<(std::ostream& out, FormulaContext const& formulaContext);