Package com.anylogic.engine.markup
- All Known Implementing Classes:
QueueArea
,QueuePath
,QueueSerpentine
public interface QueueUnit
Interface for queues which are used in Service space markup elements
- Author:
- AnyLogic North America, LLC https://anylogic.com
Modifier and Type | Method | Description |
---|---|---|
int | capacity() |
Returns the capacity of the queue
|
String | getName() | |
List<Agent> | getPeds() |
Returns the collection of agents in this queue.
The first one is the queue head, the last one is the queue tail |
boolean | isCapacityLimited() |
Returns
true if this queue has limited capacity |
int | size() |
Returns the current size of the queue
|
int size()
Returns the current size of the queue
- Returns:
- the current size of the queue
List<Agent> getPeds()
Returns the collection of agents in this queue.
The first one is the queue head, the last one is the queue tail
The first one is the queue head, the last one is the queue tail
- Returns:
- the collection of agents in this queue
boolean isCapacityLimited()
Returns
true
if this queue has limited capacity- Returns:
true
if this queue has limited capacity,false
otherwise- See Also:
-
capacity()
int capacity()
Returns the capacity of the queue
- Returns:
- the capacity of the queue
- See Also:
-
isCapacityLimited()
String getName()