edu.ucla.belief.recursiveconditioning
Class RCIterator
Object
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
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()
|
RCIterator
public RCIterator()
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