Package | Description |
---|---|
simkit |
Contains the basic functionality of simkit.
|
simkit.examples |
Useful implementations of basic event graph systems.
|
Modifier and Type | Method and Description |
---|---|
int |
Entity.compareTo(Entity o)
Higher priority is based on timeStamp property, with ties broken by id
property.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.SortedSet<Entity> |
EntityServer.queue
The queue of waiting Customers.
|
Modifier and Type | Method and Description |
---|---|
java.util.SortedSet<Entity> |
EntityServer.getQueue()
Returns a copy of the queue.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityServer.doArrival(Entity customer)
Adds arriving customer to queue.
|
void |
EntityServer.doEndService(Entity customer)
Increments number of available servers.
|