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.
20 lines
754 B
20 lines
754 B
#include "src/logic/ConditionalPathFormula.h"
|
|
|
|
namespace storm {
|
|
namespace logic {
|
|
ConditionalPathFormula::ConditionalPathFormula(std::shared_ptr<Formula const> const& leftSubformula, std::shared_ptr<Formula const> const& rightSubformula) : BinaryPathFormula(leftSubformula, rightSubformula) {
|
|
// Intentionally left empty.
|
|
}
|
|
|
|
bool ConditionalPathFormula::isConditionalPathFormula() const {
|
|
return true;
|
|
}
|
|
|
|
std::ostream& ConditionalPathFormula::writeToStream(std::ostream& out) const {
|
|
this->getLeftSubformula().writeToStream(out);
|
|
out << " || ";
|
|
this->getRightSubformula().writeToStream(out);
|
|
return out;
|
|
}
|
|
}
|
|
}
|