| java.lang.Object | |
| ↳ | uk.ac.imperial.presage2.util.environment.MappedSharedState |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Change a shared state value for a given agent to a given value. | |||||||||||
Modify a shared state value for a given agent. | |||||||||||
Change a global shared state value to a given new value, Value will not be changed until the next time slice. | |||||||||||
Modify a global shared state value. | |||||||||||
Create a shared state value for a given agent. | |||||||||||
Create a shared state value for a given agent. | |||||||||||
Create a value in the global shared state. | |||||||||||
Create a value in the global shared state. | |||||||||||
Delete a shared state value for a given agent. | |||||||||||
Delete a value in the global shared state. | |||||||||||
Get a shared state value for an individual agent.
| |||||||||||
Get a global shared state value.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
uk.ac.imperial.presage2.core.TimeDriven
| |||||||||||
From interface
uk.ac.imperial.presage2.core.environment.EnvironmentSharedStateAccess
| |||||||||||
Change a shared state value for a given agent to a given value.
Value will not be changed until the next time slice.
| name | String key of the value to change |
|---|---|
| participantID | UUID of the agent |
| value | StateTransformer which will perform the change.
|
Modify a shared state value for a given agent.
Value will not be changed until the next time slice.
| name | String key of the value to change |
|---|---|
| participantID | UUID of the agent |
| change | StateTransformer which will perform the change.
|
Change a global shared state value to a given new value,
Value will not be changed until the next time slice.
| name | String key name of the value to be changed. |
|---|---|
| value | New value to be set. |
Modify a global shared state value.
Value will not be changed until the next time slice.
| name | String key name of the value to be changed. |
|---|---|
| change | StateTransformer which will perform the change.
|
Create a shared state value for a given agent.
Value will be created in the current time cycle.
| name | String key of the value to change |
|---|---|
| participantID | UUID of the agent |
| value | Initial value to set state to. |
Create a shared state value for a given agent.
Value will be created in the current time cycle.
| state | ParticipantSharedState describing the state to create. |
|---|
Create a value in the global shared state.
Value will be created in the current time cycle.
| name | String key name of the value to create. |
|---|---|
| value | Initial value to set state to. |
Create a value in the global shared state.
Value will be created in the current time cycle.
| state | SharedState describing the state to create. |
|---|
Delete a shared state value for a given agent.
| name | String key of the value to change |
|---|---|
| participantID | UUID of the agent |
Delete a value in the global shared state.
| name | String key name of the value to create. |
|---|
Get a shared state value for an individual agent.
| name | String key of the value to get |
|---|---|
| participantID | UUID of the agent |
Get a global shared state value.
| name | String key name of the value |
|---|