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.
23 lines
642 B
23 lines
642 B
#include "src/logic/NextFormula.h"
|
|
|
|
namespace storm {
|
|
namespace logic {
|
|
NextFormula::NextFormula(std::shared_ptr<Formula const> const& subformula) : UnaryPathFormula(subformula) {
|
|
// Intentionally left empty.
|
|
}
|
|
|
|
bool NextFormula::isNextFormula() const {
|
|
return true;
|
|
}
|
|
|
|
bool NextFormula::containsNextFormula() const {
|
|
return true;
|
|
}
|
|
|
|
std::ostream& NextFormula::writeToStream(std::ostream& out) const {
|
|
out << "X ";
|
|
this->getSubformula().writeToStream(out);
|
|
return out;
|
|
}
|
|
}
|
|
}
|