Package net.sf.tweety.arg.adf.util
Class ExcludeTwoValuedSubinterpretationsIterator
- java.lang.Object
-
- net.sf.tweety.arg.adf.util.ExcludeTwoValuedSubinterpretationsIterator
-
- All Implemented Interfaces:
Iterator<Interpretation>
public class ExcludeTwoValuedSubinterpretationsIterator extends Object implements Iterator<Interpretation>
Iterates through all two-valued(!) interpretations except the ones equal to or more specific than the provided ones.- Author:
- Mathias Hofer
-
-
Constructor Summary
Constructors Constructor Description ExcludeTwoValuedSubinterpretationsIterator(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
-
ExcludeTwoValuedSubinterpretationsIterator
public ExcludeTwoValuedSubinterpretationsIterator(List<Interpretation> interpretations)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<Interpretation>
-
next
public Interpretation next()
- Specified by:
nextin interfaceIterator<Interpretation>
-
-