Browse Source

JANI operator to set level in assignment

tempestpy_adaptions
sjunges 8 years ago
parent
commit
6f40f24b74
  1. 4
      src/storm/storage/jani/Assignment.cpp
  2. 5
      src/storm/storage/jani/Assignment.h

4
src/storm/storage/jani/Assignment.cpp

@ -44,6 +44,10 @@ namespace storm {
return level;
}
void Assignment::setLevel(int64_t level) const {
this->level = level;
}
bool Assignment::isLinear() const {
storm::expressions::LinearityCheckVisitor linearityChecker;
return linearityChecker.check(this->getAssignedExpression(), true);

5
src/storm/storage/jani/Assignment.h

@ -52,6 +52,11 @@ namespace storm {
*/
int64_t getLevel() const;
/*!
* Sets the level
*/
void setLevel(int64_t level);
/*!
* Checks the assignment for linearity.
*/

Loading…
Cancel
Save