yab.agent.object
Class Vertex

java.lang.Object
  |
  +--yab.agent.object.RCRObject
        |
        +--yab.agent.object.RealObject
              |
              +--yab.agent.object.MotionlessObject
                    |
                    +--yab.agent.object.PointObject
                          |
                          +--yab.agent.object.Vertex
Direct Known Subclasses:
Node, RiverNode

public abstract class Vertex
extends PointObject


Field Summary
 
Fields inherited from class yab.agent.object.RCRObject
id, object, world
 
Constructor Summary
Vertex(int id, BaseVertex object, DisasterSpace world)
           
 
Method Summary
 ArrayList edges()
           
 Collection neighborhood()
           
 
Methods inherited from class yab.agent.object.PointObject
x, y
 
Methods inherited from class yab.agent.object.MotionlessObject
motionlessPosition
 
Methods inherited from class yab.agent.object.RealObject
direction, distance, hasBeenSeen
 
Methods inherited from class yab.agent.object.RCRObject
hashCode, produce, setProperty, setProperty, setTime, time, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Vertex

public Vertex(int id,
              BaseVertex object,
              DisasterSpace world)
Method Detail

edges

public ArrayList edges()

neighborhood

public Collection neighborhood()
Specified by:
neighborhood in class MotionlessObject