net.sourceforge.cilib.games.measurement
Class AverageItemDistanceMeasure

java.lang.Object
  extended by net.sourceforge.cilib.games.measurement.AgentMeasure
      extended by net.sourceforge.cilib.games.measurement.AverageItemDistanceMeasure
All Implemented Interfaces:
Serializable, Cloneable

public class AverageItemDistanceMeasure
extends AgentMeasure

Author:
leo
See Also:
Serialized Form

Constructor Summary
AverageItemDistanceMeasure()
           
AverageItemDistanceMeasure(AverageItemDistanceMeasure other)
           
 
Method Summary
 void clearData()
          Clear all measured data.
 AgentMeasure 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AverageItemDistanceMeasure

public AverageItemDistanceMeasure()

AverageItemDistanceMeasure

public AverageItemDistanceMeasure(AverageItemDistanceMeasure other)
Method Detail

clearData

public void clearData()
Description copied from class: AgentMeasure
Clear all measured data.

Specified by:
clearData in class AgentMeasure

getClone

public AgentMeasure getClone()
Description copied from class: AgentMeasure
Create a cloned copy of the current object and return it. In general the created copy will be a deep copy of the provided instance. As a result this operation an be quite expensive if used incorrectly.

Specified by:
getClone in interface Cloneable
Specified by:
getClone in class AgentMeasure
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

getMeasuredData

public Type getMeasuredData()
Description copied from class: AgentMeasure
return the measured data

Specified by:
getMeasuredData in class AgentMeasure
Returns:

measure

public void measure(Game<GameState> game)
Description copied from class: AgentMeasure
Measure game specific information and store it

Specified by:
measure in class AgentMeasure
Parameters:
game - the game to measure information from


Copyright © 2009 CIRG. All Rights Reserved.