Package au.edu.unsw.cse
Class EdgeStack
java.lang.Object
au.edu.unsw.cse.EdgeStack
public class EdgeStack
extends java.lang.Object
This class stores the edges that still need to be processed.
It works like a regular stack except that putting AB on the stack when
BA is already there causes both edges to be eliminated.
-
Constructor Summary
Constructors Constructor Description EdgeStack()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EdgeStack
public EdgeStack()
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
get
-
put
-
put
-
putp
-
putp
-
dump
public void dump()
-