STORM_LOG_THROW(assignedValue>=integerIt->lowerBound,storm::exceptions::WrongFormatException,"The update "<<assignmentIt->getExpressionVariable().getName()<<" := "<<assignmentIt->getAssignedExpression()<<" leads to an out-of-bounds value ("<<assignedValue<<") for the variable '"<<assignmentIt->getExpressionVariable().getName()<<"'.");
STORM_LOG_THROW(assignedValue>=integerIt->lowerBound,storm::exceptions::WrongFormatException,"The update "<<assignmentIt->getExpressionVariable().getName()<<" := "<<assignmentIt->getAssignedExpression()<<" leads to an out-of-bounds value ("<<assignedValue<<") for the variable '"<<assignmentIt->getExpressionVariable().getName()<<"'.");
STORM_LOG_THROW(assignedValue<=integerIt->upperBound,storm::exceptions::WrongFormatException,"The update "<<assignmentIt->getExpressionVariable().getName()<<" := "<<assignmentIt->getAssignedExpression()<<" leads to an out-of-bounds value ("<<assignedValue<<") for the variable '"<<assignmentIt->getExpressionVariable().getName()<<"'.");
STORM_LOG_THROW(assignedValue<=integerIt->upperBound,storm::exceptions::WrongFormatException,"The update "<<assignmentIt->getExpressionVariable().getName()<<" := "<<assignmentIt->getAssignedExpression()<<" leads to an out-of-bounds value ("<<assignedValue<<") for the variable '"<<assignmentIt->getExpressionVariable().getName()<<"'.");
STORM_LOG_ASSERT(static_cast<int_fast64_t>(newState.getAsInt(integerIt->bitOffset,integerIt->bitWidth))+integerIt->lowerBound==assignedValue,"Writing to the bit vector bucket failed (read "<<newState.getAsInt(integerIt->bitOffset,integerIt->bitWidth)<<" but wrote "<<assignedValue<<").");
STORM_LOG_ASSERT(static_cast<int_fast64_t>(state.getAsInt(integerIt->bitOffset,integerIt->bitWidth))+integerIt->lowerBound==assignedValue,"Writing to the bit vector bucket failed (read "<<state.getAsInt(integerIt->bitOffset,integerIt->bitWidth)<<" but wrote "<<assignedValue<<").");
}
}
// Iterate over all array access assignments and carry them out.
// Iterate over all array access assignments and carry them out.
STORM_LOG_THROW(assignedValue>=intInfo.lowerBound,storm::exceptions::WrongFormatException,"The update "<<assignmentIt->getLValue()<<" := "<<assignmentIt->getAssignedExpression()<<" leads to an out-of-bounds value ("<<assignedValue<<") for the variable '"<<assignmentIt->getExpressionVariable().getName()<<"'.");
STORM_LOG_THROW(assignedValue>=intInfo.lowerBound,storm::exceptions::WrongFormatException,"The update "<<assignmentIt->getLValue()<<" := "<<assignmentIt->getAssignedExpression()<<" leads to an out-of-bounds value ("<<assignedValue<<") for the variable '"<<assignmentIt->getExpressionVariable().getName()<<"'.");
STORM_LOG_THROW(assignedValue<=intInfo.upperBound,storm::exceptions::WrongFormatException,"The update "<<assignmentIt->getLValue()<<" := "<<assignmentIt->getAssignedExpression()<<" leads to an out-of-bounds value ("<<assignedValue<<") for the variable '"<<assignmentIt->getExpressionVariable().getName()<<"'.");
STORM_LOG_THROW(assignedValue<=intInfo.upperBound,storm::exceptions::WrongFormatException,"The update "<<assignmentIt->getLValue()<<" := "<<assignmentIt->getAssignedExpression()<<" leads to an out-of-bounds value ("<<assignedValue<<") for the variable '"<<assignmentIt->getExpressionVariable().getName()<<"'.");
STORM_LOG_ASSERT(static_cast<int_fast64_t>(newState.getAsInt(intInfo.bitOffset,intInfo.bitWidth))+intInfo.lowerBound==assignedValue,"Writing to the bit vector bucket failed (read "<<newState.getAsInt(intInfo.bitOffset,intInfo.bitWidth)<<" but wrote "<<assignedValue<<").");
STORM_LOG_ASSERT(static_cast<int_fast64_t>(state.getAsInt(intInfo.bitOffset,intInfo.bitWidth))+intInfo.lowerBound==assignedValue,"Writing to the bit vector bucket failed (read "<<state.getAsInt(intInfo.bitOffset,intInfo.bitWidth)<<" but wrote "<<assignedValue<<").");
STORM_LOG_ASSERT(this->options.isScaleAndLiftTransitionRewardsSet(),"Transition rewards are not supported and scaling to action rewards is disabled.");
STORM_LOG_ASSERT(this->options.isScaleAndLiftTransitionRewardsSet(),"Transition rewards are not supported and scaling to action rewards is disabled.");