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