edu.neu.ccs.demeter.aplib
Class TraversalGraph.IndexPair

java.lang.Object
  |
  +--edu.neu.ccs.demeter.aplib.TraversalGraph.IndexPair
Enclosing class:
TraversalGraph

public class TraversalGraph.IndexPair
extends Object

A pair of indices, representing the copy indices on the source and target of an edge in the traversal graph.


Field Summary
protected  int source
           
protected  int target
           
 
Method Summary
 boolean equals(Object ip)
           
 int getSource()
          The copy index of the source of the edge.
 int getTarget()
          The copy index of the target of the edge.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

source

protected int source

target

protected int target
Method Detail

getSource

public int getSource()
The copy index of the source of the edge.


getTarget

public int getTarget()
The copy index of the target of the edge.


equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object