net.hivecell.hive.support
Class AgentGraphEdge

java.lang.Object
  |
  +--net.hivecell.hive.support.AgentGraphEdge

public class AgentGraphEdge
extends java.lang.Object

This is basically a struct that is used to represent a connection between two agents in the graph


Constructor Summary
AgentGraphEdge(Agent a, Agent b)
           
 
Method Summary
 Agent getDestinationAgent()
           
 Agent getSourceAgent()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentGraphEdge

public AgentGraphEdge(Agent a,
                      Agent b)
Method Detail

getSourceAgent

public Agent getSourceAgent()

getDestinationAgent

public Agent getDestinationAgent()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object