Description
Provides access to data and methods related to a System of an Agents.
Methods
createAgent |
Creates a new agent that is associated with the passed object. |
getAgent |
Returns the agent that is associated with the passed object, if one exists. |
Constructor
System |
Accesses a system in the model with a given name. |
Details
Do no remove, this fixes the anchor on doc.flexsim.com
Parameters
object |
The model object that you want the agent to be
associated with. |
Returns
Agent
|
A newly created agent |
Description
Creates a new agent that is associated with the passed object.
Agent newAgent = Agent.System("ProximitySystem").createAgent(current)
Do no remove, this fixes the anchor on doc.flexsim.com
Parameters
Returns
Agent
|
The Agent associated with the object. If there is no such agent member, it
will return null. |
Description
Returns the agent that is associated with the passed object, if one exists.
Agent agent = Agent.System("ProximitySystem").getAgent(current)
Do no remove, this fixes the anchor on doc.flexsim.com
Parameters
name |
The name of the system. |
Returns
Description
Accesses a system in the model with a given name.
Agent.System("ProximitySystem").getAgent(current)