edu.ucla.structure
Class DirectedEdge

Object
  extended by Edge
      extended by DirectedEdge

public class DirectedEdge
extends Edge

Since:
20040613
Author:
keith cascio

Constructor Summary
DirectedEdge(Object source, Object sink)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
          Swapping the vertices must result in a distinct hash.
 
Methods inherited from class Edge
setVertices, toString, v1, v2
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectedEdge

public DirectedEdge(Object source,
                    Object sink)
Method Detail

hashCode

public int hashCode()
Swapping the vertices must result in a distinct hash.

Overrides:
hashCode in class Edge
Since:
20091219

equals

public boolean equals(Object obj)
Overrides:
equals in class Edge


Copyright 2010 UCLA Automated Reasoning Group