de.hpi.fgis.dude.postprocessor
Class WarshallTransitiveClosureGenerator.TransitiveClosureIterator

java.lang.Object
  extended by de.hpi.fgis.dude.util.AbstractIterator<DuDeObjectPair>
      extended by de.hpi.fgis.dude.postprocessor.WarshallTransitiveClosureGenerator.TransitiveClosureIterator
All Implemented Interfaces:
Iterator<DuDeObjectPair>
Enclosing class:
WarshallTransitiveClosureGenerator

protected class WarshallTransitiveClosureGenerator.TransitiveClosureIterator
extends AbstractIterator<DuDeObjectPair>

WarshallTransitiveClosureGenerator.TransitiveClosureIterator is used to iterate over all pairs collected or generated by the WarshallTransitiveClosureGenerator.

Author:
Uwe Draisbach

Constructor Summary
WarshallTransitiveClosureGenerator.TransitiveClosureIterator(WarshallTransitiveClosureGenerator.GraphRepresentation matrix)
          Constructor of WarshallTransitiveClosureGenerator.TransitiveClosureIterator
 
Method Summary
protected  DuDeObjectPair loadNextElement()
          Returns the element of the next iteration step.
 
Methods inherited from class de.hpi.fgis.dude.util.AbstractIterator
hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WarshallTransitiveClosureGenerator.TransitiveClosureIterator

public WarshallTransitiveClosureGenerator.TransitiveClosureIterator(WarshallTransitiveClosureGenerator.GraphRepresentation matrix)
Constructor of WarshallTransitiveClosureGenerator.TransitiveClosureIterator

Parameters:
matrix - The matrix with the
Method Detail

loadNextElement

protected DuDeObjectPair loadNextElement()
Description copied from class: AbstractIterator
Returns the element of the next iteration step. This method needs to be implemented by each sub-class.

Specified by:
loadNextElement in class AbstractIterator<DuDeObjectPair>
Returns:
The next element.


Copyright © 2011 Hasso Plattner Institute - Chair of Information Systems. All Rights Reserved.