|
|
@ -39,7 +39,7 @@ namespace storm { |
|
|
|
storm::jani::Variable* janiVar = nullptr; |
|
|
|
if (!place.hasRestrictedCapacity()) { |
|
|
|
// Effectively no capacity limit known |
|
|
|
janiVar = new storm::jani::UnboundedIntegerVariable(place.getName(), expressionManager->declareIntegerVariable(place.getName()), expressionManager->integer(place.getNumberOfInitialTokens()), false); |
|
|
|
janiVar = new storm::jani::UnboundedIntegerVariable(place.getName(), expressionManager->declareIntegerVariable(place.getName()), expressionManager->integer(place.getNumberOfInitialTokens())); |
|
|
|
} else { |
|
|
|
assert(place.hasRestrictedCapacity()); |
|
|
|
janiVar = new storm::jani::BoundedIntegerVariable(place.getName(), expressionManager->declareIntegerVariable(place.getName()), expressionManager->integer(place.getNumberOfInitialTokens()), expressionManager->integer(0), expressionManager->integer(place.getCapacity())); |
|
|
|