Browse Source

guard for IsCarrying formulae

overwrites
sp 10 months ago
parent
commit
0ef98bf005
  1. 2
      util/PrismFormulaPrinter.cpp

2
util/PrismFormulaPrinter.cpp

@ -104,6 +104,8 @@ namespace prism {
if(conditionalMovementRestrictions.size() > 0) { if(conditionalMovementRestrictions.size() > 0) {
os << buildFormula(agentName + "CannotMoveConditionally", vectorToDisjunction(conditionalMovementRestrictions)); os << buildFormula(agentName + "CannotMoveConditionally", vectorToDisjunction(conditionalMovementRestrictions));
}
if(portableObjects.size() > 0) {
os << buildFormula(agentName + "IsCarrying", vectorToDisjunction(portableObjects)); os << buildFormula(agentName + "IsCarrying", vectorToDisjunction(portableObjects));
} }
} }

Loading…
Cancel
Save