You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
768 B
28 lines
768 B
#include "storm/logic/TotalRewardFormula.h"
|
|
|
|
#include "storm/logic/FormulaVisitor.h"
|
|
|
|
namespace storm {
|
|
namespace logic {
|
|
TotalRewardFormula::TotalRewardFormula() {
|
|
// Intentionally left empty.
|
|
}
|
|
|
|
bool TotalRewardFormula::isTotalRewardFormula() const {
|
|
return true;
|
|
}
|
|
|
|
bool TotalRewardFormula::isRewardPathFormula() const {
|
|
return true;
|
|
}
|
|
|
|
boost::any TotalRewardFormula::accept(FormulaVisitor const& visitor, boost::any const& data) const {
|
|
return visitor.visit(*this, data);
|
|
}
|
|
|
|
std::ostream& TotalRewardFormula::writeToStream(std::ostream& out) const {
|
|
out << "C";
|
|
return out;
|
|
}
|
|
}
|
|
}
|