Let's keep it simple
This commit is contained in:
parent
86610139d2
commit
b944ece747
2 changed files with 2 additions and 4 deletions
|
|
@ -139,6 +139,4 @@ def termination_condition(od):
|
|||
|
||||
# TO IMPLEMENT: terminate simulation when the place 'served' contains 2 ships.
|
||||
|
||||
if len(od.get_all_instances("Place")) > 5:
|
||||
return "More places than I can count :("
|
||||
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@ port_rt_m_cs = port_m_cs + """
|
|||
time = 0;
|
||||
}
|
||||
|
||||
waitingState:PlaceState { numShips = 2; } :of (waitingState -> waiting)
|
||||
waitingState:PlaceState { numShips = 0; } :of (waitingState -> waiting)
|
||||
inboundPassageState:PlaceState { numShips = 0; } :of (inboundPassageState -> inboundPassage)
|
||||
outboundPassageState:PlaceState { numShips = 0; } :of (outboundPassageState -> outboundPassage)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue