Package net.sf.tweety.arg.adf.util
Class ExcludeSubinterpretationsIterator
- java.lang.Object
-
- net.sf.tweety.arg.adf.util.ExcludeSubinterpretationsIterator
-
- All Implemented Interfaces:
Iterator<Interpretation>
public class ExcludeSubinterpretationsIterator extends Object implements Iterator<Interpretation>
Iterates through all interpretations except the ones equal to or more specific than the provided ones.- Author:
- Mathias Hofer
-
-
Constructor Summary
Constructors Constructor Description ExcludeSubinterpretationsIterator(List<Interpretation> interpretations)
-
Method Summary
Modifier and Type Method Description booleanhasNext()Interpretationnext()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
ExcludeSubinterpretationsIterator
public ExcludeSubinterpretationsIterator(List<Interpretation> interpretations)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<Interpretation>
-
next
public Interpretation next()
- Specified by:
nextin interfaceIterator<Interpretation>
-
-