de.saar.chorus.domgraph.graph
Class DomEdge

Object
  extended by DomEdge

public class DomEdge
extends Object

A representation of a dominance edge, as a pair of a source and a target node.

Author:
Alexander Koller

Constructor Summary
DomEdge(String src, String tgt)
          Constructor which takes a source and target node.
 
Method Summary
 String getSrc()
          Get the source node in this pair.
 String getTgt()
          Get the target node in this pair.
 String toString()
          Computes a string representation of this pair.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DomEdge

public DomEdge(String src,
               String tgt)
Constructor which takes a source and target node.

Parameters:
src - the source node
tgt - the target node
Method Detail

getSrc

public String getSrc()
Get the source node in this pair.

Returns:
the source node

getTgt

public String getTgt()
Get the target node in this pair.

Returns:
the target node

toString

public String toString()
Computes a string representation of this pair.

Overrides:
toString in class Object