massim.competition2010
Class GridSimulationAgentPerceptionAverage
java.lang.Object
massim.gridsimulations.SimulationAgentPerception
massim.competition2010.GridSimulationAgentPerceptionAverage
- All Implemented Interfaces:
- java.io.Serializable, Perception, XMLCodec.XMLEncodable
public class GridSimulationAgentPerceptionAverage
- extends SimulationAgentPerception
This class produce the normal perception, which is send to the agent.
- See Also:
- Serialized Form
Method Summary |
static void |
convertEntryToXML(java.lang.Object o,
java.lang.Class type,
org.w3c.dom.Element target,
java.lang.String name)
This method converts the perception-class-element to xml |
void |
encodeToXML(org.w3c.dom.Element target)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cowsInCorral
public long cowsInCorral
perception
public GridSimulationPerceptionCell[][] perception
GridSimulationAgentPerceptionAverage
public GridSimulationAgentPerceptionAverage()
encodeToXML
public void encodeToXML(org.w3c.dom.Element target)
convertEntryToXML
public static void convertEntryToXML(java.lang.Object o,
java.lang.Class type,
org.w3c.dom.Element target,
java.lang.String name)
throws java.lang.IllegalAccessException
- This method converts the perception-class-element to xml
- Parameters:
o
- The object to converttype
- The classtype of the object.target
- The targetname
- The objectname
- Throws:
java.lang.IllegalAccessException
Copyright © 2011. All Rights Reserved.