edu.ucla.structure
Class DepthFirstIterator

Object
  extended by DepthFirstIterator
All Implemented Interfaces:
Iterator

public class DepthFirstIterator
extends Object
implements Iterator

Since:
031502
Author:
Keith Cascio

Field Summary
static PrintStream STREAM_DEBUG
           
 
Constructor Summary
DepthFirstIterator(DirectedGraph G)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STREAM_DEBUG

public static final PrintStream STREAM_DEBUG
Constructor Detail

DepthFirstIterator

public DepthFirstIterator(DirectedGraph G)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
            throws UnsupportedOperationException,
                   IllegalStateException
Specified by:
remove in interface Iterator
Throws:
UnsupportedOperationException
IllegalStateException


Copyright 2010 UCLA Automated Reasoning Group