|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.games.measurement.AgentMeasure net.sourceforge.cilib.games.measurement.SingleAgentMeasure net.sourceforge.cilib.games.measurement.RecordItemLocationMeasure
public class RecordItemLocationMeasure
Record each location an Agent has occupied at each timestep in the game. This could also be used to measure locations a specific item type has occupied.
Constructor Summary | |
---|---|
RecordItemLocationMeasure()
|
|
RecordItemLocationMeasure(Enum itemToken)
|
|
RecordItemLocationMeasure(RecordItemLocationMeasure other)
|
Method Summary | |
---|---|
void |
clearData()
Clear all measured data. |
RecordItemLocationMeasure |
getClone()
Create a cloned copy of the current object and return it. |
Type |
getMeasuredData()
return the measured data |
void |
measure(Game<GameState> game)
Measure game specific information and store it |
Methods inherited from class net.sourceforge.cilib.games.measurement.SingleAgentMeasure |
---|
getItemToken, setItemToken |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecordItemLocationMeasure()
public RecordItemLocationMeasure(Enum itemToken)
public RecordItemLocationMeasure(RecordItemLocationMeasure other)
Method Detail |
---|
public void clearData()
clearData
in class AgentMeasure
public RecordItemLocationMeasure getClone()
getClone
in interface Cloneable
getClone
in class SingleAgentMeasure
Object.clone()
public Type getMeasuredData()
getMeasuredData
in class AgentMeasure
public void measure(Game<GameState> game)
measure
in class AgentMeasure
game
- the game to measure information from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |