|
|
@@ -31,6 +31,10 @@ class LockQueueingSystem(CoupledDEVS):
|
|
|
gen_num=gen_num,
|
|
|
))
|
|
|
|
|
|
+ queue = self.addSubModel(Queue(
|
|
|
+ ship_sizes=set(gen_types), # the queue only needs to know the different ship sizes (and create a FIFO queue for each)
|
|
|
+ ))
|
|
|
+
|
|
|
if load_balancer_strategy == STRATEGY_ROUND_ROBIN:
|
|
|
LoadBalancer = RoundRobinLoadBalancer
|
|
|
elif load_balancer_strategy == STRATEGY_FILL_ER_UP:
|