forgot to include WorkerSet in Port-model

This commit is contained in:
Joeri Exelmans 2024-12-04 15:50:56 +01:00
parent 838bb18630
commit 54845b2a4a

View file

@ -383,6 +383,11 @@ smaller_model2_cs = """
shipCapacity = 1; shipCapacity = 1;
} }
:capacityOf (passageCap -> berth) :capacityOf (passageCap -> berth)
workers:WorkerSet {
numWorkers = 1;
}
:canOperate (workers -> berth)
""" """
smaller_model2_rt_cs = smaller_model2_cs + """ smaller_model2_rt_cs = smaller_model2_cs + """
@ -397,4 +402,6 @@ smaller_model2_rt_cs = smaller_model2_cs + """
gen2waitState:ConnectionState { moved = False; } :of (gen2waitState -> gen2wait) gen2waitState:ConnectionState { moved = False; } :of (gen2waitState -> gen2wait)
wait2berthState:ConnectionState { moved = False; } :of (wait2berthState -> wait2berth) wait2berthState:ConnectionState { moved = False; } :of (wait2berthState -> wait2berth)
berth2servedState:ConnectionState { moved = False; } :of (berth2servedState -> berth2served) berth2servedState:ConnectionState { moved = False; } :of (berth2servedState -> berth2served)
workersState:WorkerSetState :of (workersState -> workers)
""" """