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.
 
 
 
 

22 lines
928 B

#include "src/storage/prism/Label.h"
namespace storm {
namespace prism {
Label::Label(std::string const& labelName, storm::expressions::Expression const& statePredicateExpression, std::string const& filename, uint_fast64_t lineNumber) : LocatedInformation(filename, lineNumber), labelName(labelName), statePredicateExpression(statePredicateExpression) {
// Intentionally left empty.
}
std::string const& Label::getLabelName() const {
return this->labelName;
}
storm::expressions::Expression const& Label::getStatePredicateExpression() const {
return this->statePredicateExpression;
}
std::ostream& operator<<(std::ostream& stream, Label const& label) {
stream << "label \"" << label.getLabelName() << "\" = " << label.getStatePredicateExpression() << ";";
return stream;
}
}
}