Property | Type | Description | |
---|---|---|---|
agents | HashSet |
||
envObjects | HashSet |
||
performanceMeasures | System.Double>.Map | ||
views | HashSet |
Method | Description | |
---|---|---|
addAgent ( IAgent a ) : void | ||
addEnvironmentObject ( EnvironmentObject eo ) : void | ||
addEnvironmentView ( EnvironmentView ev ) : void | ||
createExogenousChange ( ) : void | ||
executeAction ( IAgent agent, Action action ) : EnvironmentState | ||
getAgents ( ) : List |
||
getCurrentState ( ) : EnvironmentState | ||
getEnvironmentObjects ( ) : List |
||
getPerceptSeenBy ( IAgent anAgent ) : Percept | ||
getPerformanceMeasure ( IAgent forAgent ) : double | ||
isDone ( ) : bool | ||
notifyViews ( System msg ) : void | ||
removeAgent ( IAgent a ) : void | ||
removeEnvironmentObject ( EnvironmentObject eo ) : void | ||
removeEnvironmentView ( EnvironmentView ev ) : void | ||
step ( ) : void | ||
step ( int n ) : void | ||
stepUntilDone ( ) : void |
Method | Description | |
---|---|---|
updateEnvironmentViewsAgentActed ( IAgent agent, Action action, EnvironmentState state ) : void | ||
updateEnvironmentViewsAgentAdded ( IAgent agent ) : void | ||
updatePerformanceMeasure ( IAgent forAgent, double addTo ) : void |
public addEnvironmentObject ( EnvironmentObject eo ) : void | ||
eo | EnvironmentObject | |
return | void |
public addEnvironmentView ( EnvironmentView ev ) : void | ||
ev | EnvironmentView | |
return | void |
public abstract executeAction ( IAgent agent, Action action ) : EnvironmentState | ||
agent | IAgent | |
action | Action | |
return | EnvironmentState |
public abstract getCurrentState ( ) : EnvironmentState | ||
return | EnvironmentState |
public abstract getPerceptSeenBy ( IAgent anAgent ) : Percept | ||
anAgent | IAgent | |
return | Percept |
public getPerformanceMeasure ( IAgent forAgent ) : double | ||
forAgent | IAgent | |
return | double |
public removeEnvironmentObject ( EnvironmentObject eo ) : void | ||
eo | EnvironmentObject | |
return | void |
public removeEnvironmentView ( EnvironmentView ev ) : void | ||
ev | EnvironmentView | |
return | void |
protected updateEnvironmentViewsAgentActed ( IAgent agent, Action action, EnvironmentState state ) : void | ||
agent | IAgent | |
action | Action | |
state | EnvironmentState | |
return | void |
protected updateEnvironmentViewsAgentAdded ( IAgent agent ) : void | ||
agent | IAgent | |
return | void |
protected updatePerformanceMeasure ( IAgent forAgent, double addTo ) : void | ||
forAgent | IAgent | |
addTo | double | |
return | void |
protected Map |
||
return | System.Double>.Map |