util.graph
Class Edge

java.lang.Object
  |
  +--util.graph.Edge

public class Edge
extends Object
implements Serializable, Cloneable

Edge connects an Object (i.e.AgentID),outPort to an Object,inPort

See Also:
Serialized Form

Constructor Summary
Edge(Object from, String outPort, Object to, String inPort)
           
 
Method Summary
 int cost()
           
 boolean equals(Object o)
           
 Object from()
           
 int hashCode()
           
 String inPort()
           
 String outPort()
           
 Object owner()
           
 void setOwner(Object o, int cost)
           
 Object to()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Edge

public Edge(Object from,
            String outPort,
            Object to,
            String inPort)
Method Detail

from

public Object from()

to

public Object to()

inPort

public String inPort()

outPort

public String outPort()

owner

public Object owner()

cost

public int cost()

setOwner

public void setOwner(Object o,
                     int cost)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object