| java.lang.Object | ||
| ↳ | uk.ac.imperial.presage2.core.environment.EnvironmentService | |
| ↳ | uk.ac.imperial.presage2.util.location.LocationService | |
Known Direct Subclasses
|
An EnvironmentService to provide information on the locations of
agents.
Add as a global environment service in the environment
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
uk.ac.imperial.presage2.core.environment.EnvironmentService
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the location of a given agent specified by it's participant UUID.
| |||||||||||
If any participant's location shared state is a 'Cell', we insert it into
the global shared state via
AreaService. | |||||||||||
Update this agent's location to l.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
uk.ac.imperial.presage2.core.environment.EnvironmentService
| |||||||||||
From class
java.lang.Object
| |||||||||||
Get the location of a given agent specified by it's participant UUID.
| participantID | UUID of participant to look up |
|---|
Location of participants
If any participant's location shared state is a 'Cell', we insert it into
the global shared state via AreaService.
Update this agent's location to l.
If l is a Cell we update the information in the
AreaService.