|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.sc.ants.Map
Maps are sent in messages. They contain a vector of observations along witht the ID of the Thing (probably an agent) that made the observation.
Field Summary | |
java.util.Vector |
observations
Vector of observations |
java.util.Vector |
owner
ID of agent who made Observation |
Constructor Summary | |
Map()
|
Method Summary | |
void |
addObservation(Observation ob,
int a)
Add an observation to the map. |
Methods inherited from class java.lang.Object |
|
Field Detail |
public java.util.Vector observations
public java.util.Vector owner
Constructor Detail |
public Map()
Method Detail |
public void addObservation(Observation ob, int a)
ob
- the observation to add.a
- the ID of the agent that made the observation.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |