edu.ucla.belief.recursiveconditioning
Class RCIterator

Object
  extended by RCIterator
All Implemented Interfaces:
Iterator
Direct Known Subclasses:
RCIteratorArray, RCIteratorTraversal, RCNodeInternalBinaryCache.ChildIterator

public abstract class RCIterator
extends Object
implements Iterator

This abstract class iterates through trees & graphs but does not guarantee any particular node ordering.

Author:
David Allen

Constructor Summary
RCIterator()
           
 
Method Summary
abstract  boolean hasNext()
           
 Object next()
          Does not guarantee any particular ordering of the nodes returned.
abstract  RCNode nextNode()
          Does not guarantee any particular ordering of the nodes returned.
 void remove()
           
abstract  void restart()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RCIterator

public RCIterator()
Method Detail

hasNext

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

next

public Object next()
Does not guarantee any particular ordering of the nodes returned.

Specified by:
next in interface Iterator

nextNode

public abstract RCNode nextNode()
Does not guarantee any particular ordering of the nodes returned.


remove

public void remove()
Specified by:
remove in interface Iterator

restart

public abstract void restart()


Copyright 2010 UCLA Automated Reasoning Group