| Package | Description |
|---|---|
| com.anylogic.engine | |
| com.anylogic.engine.presentation |
| Modifier and Type | Class | Description |
|---|---|---|
class | AgentArrayList<E extends Agent> |
Agent population list based on array implementation
Supports fast element retrieval by its index (the AgentArrayList.get(int) operation
runs in constant time).The add operation runs in amortized constant time, that is, adding n elements requires O(n) time. |
class | AgentLinkedHashSet<E extends Agent> |
Agent population collection based on
LinkedHashSet implementationThis collection offers constant time performance for the basic operations (add, remove, contains and size) and guarantees insertion-order during iteration Note, that due to set-based implementation, element retrieval by its index ( AgentLinkedHashSet.get(int)) is extremely slow when rapidly invoked it with random
index for large collections. |
| Modifier and Type | Method | Description |
|---|---|---|
AgentList<Agent> | Agent.getDefaultPopulation() |
Returns the default population (contained in top-level agent) or
null if root couldn't be found |
AgentList<Agent> | ExtRootModelAgent.getDefaultPopulation() |
Returns 'default population' which e.g.
|
AgentList<?> | Agent.getPopulation() |
For agent population returns the List of agents
embedded in the owner object where this agent belongs to,
null if the object is not replicated |
AgentList<?> | Agent.getReplicatedCollection() |
Deprecated.
This method may be removed in the next release.
|
AgentList<?> | Agent.getReplicatedList() |
For agent population returns the List of agents
embedded in the owner object where this agent belongs to,
null if the object is not replicated |
| Modifier and Type | Method | Description |
|---|---|---|
AgentAnimationSettings | Agent.getAnimationSettingsOf |
Returns the animation settings of a replicated embedded object.
Must be implemented in a subclass if there are any replicated embedded objects. |
String | Agent.getNameOf |
Returns the name of a replicated embedded object.
Must be implemented in a subclass if there are any replicated embedded objects. |
void | Agent.goToPopulation |
Changes the population of agent.
|
void | ExtEnvironmentInteractive.register_xjal |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
final void | Agent.restoreCollection_xjal |
Deprecated.
|
| Modifier | Constructor | Description |
|---|---|---|
| Agent |
Constructs the agent, sets up its owner and list (if replicated).
|
| FlowchartBlock |
Standard Agent constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
AgentList<?> | ShapeEmbeddedObjectIcon.getPopulation() |
| Modifier | Constructor | Description |
|---|---|---|
| ShapeAgentPopulationGroup | |
| ShapeEmbeddedObjectIcon |
Constructs an embedded object presentation with specific attributes
|