massim.goldsimulations
Class GoldGridSimulationAgentPerception

java.lang.Object
  extended by massim.gridsimulations.SimulationAgentPerception
      extended by massim.goldsimulations.GoldGridSimulationAgentPerception
All Implemented Interfaces:
java.io.Serializable, Perception, XMLCodec.XMLEncodable
Direct Known Subclasses:
GridSimulationAgentPerception, GridSimulationAgentPerception

public class GoldGridSimulationAgentPerception
extends SimulationAgentPerception

This class produces the normal perception which is sent to the agent.

See Also:
Serialized Form

Field Summary
 GridSimulationPerceptionCell cur
           
 GridSimulationPerceptionCell e
           
 GridSimulationPerceptionCell n
           
 GridSimulationPerceptionCell ne
           
 GridSimulationPerceptionCell nw
           
 GridSimulationPerceptionCell s
           
 GridSimulationPerceptionCell se
           
 GridSimulationPerceptionCell sw
           
 GridSimulationPerceptionCell w
           
 
Fields inherited from class massim.gridsimulations.SimulationAgentPerception
posx, posy, step
 
Constructor Summary
GoldGridSimulationAgentPerception()
           
 
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
 

Field Detail

cur

public GridSimulationPerceptionCell cur

n

public GridSimulationPerceptionCell n

nw

public GridSimulationPerceptionCell nw

w

public GridSimulationPerceptionCell w

sw

public GridSimulationPerceptionCell sw

s

public GridSimulationPerceptionCell s

se

public GridSimulationPerceptionCell se

e

public GridSimulationPerceptionCell e

ne

public GridSimulationPerceptionCell ne
Constructor Detail

GoldGridSimulationAgentPerception

public GoldGridSimulationAgentPerception()
Method Detail

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 convert
type - The classtype of the object.
target - The target
name - The objectname
Throws:
java.lang.IllegalAccessException


Copyright © 2012. All Rights Reserved.