forgot the queue
This commit is contained in:
parent
4b959bc98b
commit
f5a09a2a43
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue