Modifier and Type | Method and Description |
---|---|
void |
GridSimulationAgent.updateWorldState(WorldState simstate,
SimulationAgent[] agents) |
Modifier and Type | Method and Description |
---|---|
void |
GridSimulationAgent.updateWorldState(WorldState simstate,
SimulationAgent[] agents)
take charge of agent's direction in world state. in the case, two or more
agents wants to move in the same cell, only one of them can move in and the
others will be set back to their old positions. in other words if the first agent
wants to move to the cell, where another agent (also the second) stands. he will try to push the second agent
away in a free cell .the push action can only success when the second agent does not want to
perform a movement in his last simulation step and this simulation step(his actions can be "skip", "invalid" "pick", "drop",
"mark", "unmark").
|
Modifier and Type | Method and Description |
---|---|
void |
GridSimulationAgent.updateWorldState(WorldState simstate,
SimulationAgent[] agents)
take charge of agent's positions in world state.
|
Modifier and Type | Class and Description |
---|---|
class |
GridSimulationAgent
This class deals with the agent state, his actions and perceptions.
|
Modifier and Type | Method and Description |
---|---|
void |
GridSimulationAgent.updateWorldState(WorldState simstate,
SimulationAgent[] agents)
take charge of agent's positions in world state.
|
Modifier and Type | Method and Description |
---|---|
void |
GridSimulationAgent.updateWorldState(WorldState simstate,
SimulationAgent[] agents)
take charge of agent's positions in world state.
|
Modifier and Type | Class and Description |
---|---|
class |
GraphSimulationAgent
This class deals with the agent state, his actions and perceptions.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSimulationAgent |
Modifier and Type | Field and Description |
---|---|
Class<SimulationAgent> |
SimpleSimulationConfiguration.AgentConfiguration.agentClass |
Modifier and Type | Method and Description |
---|---|
SimulationAgent[] |
AbstractSimulation.getAgents()
Retrieves an array of SimulationAgent objects that participate in this simulation.
|
Modifier and Type | Class and Description |
---|---|
class |
SimulationAgentExtend
This class deals with the agent state, his actions and perceptions.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
SimulationAgentExtend.updateWorldState(WorldState workdstate,
SimulationAgent[] agents) |
Copyright © 2013. All Rights Reserved.