public class Observation
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Observation() |
Modifier and Type | Method and Description |
---|---|
void |
addContextList(Context c)
Adds the context list.
|
void |
addPerceptList(Percept p)
Adds the percept list.
|
Context |
getContextById(java.lang.String id)
Gets the context by id.
|
java.util.ArrayList<Context> |
getContextList()
Gets the context list.
|
java.util.ArrayList<Percept> |
getPerceptList()
Gets the percept list.
|
int |
getTick()
Gets the tick.
|
void |
setTick(int tick)
Sets the tick.
|
public void setTick(int tick)
tick
- the new tickpublic void addPerceptList(Percept p)
p
- the ppublic void addContextList(Context c)
c
- the cpublic int getTick()
public java.util.ArrayList<Percept> getPerceptList()
public java.util.ArrayList<Context> getContextList()
public Context getContextById(java.lang.String id)
id
- the id