Class InterpretationIterator
- java.lang.Object
-
- net.sf.tweety.arg.adf.semantics.interpretation.InterpretationIterator
-
- All Implemented Interfaces:
java.util.Iterator<Interpretation>
public class InterpretationIterator extends java.lang.Object implements java.util.Iterator<Interpretation>
Creates all possible interpretations while respecting the order of the given arguments.- Author:
- Mathias Hofer
-
-
Constructor Summary
Constructors Constructor Description InterpretationIterator(java.util.List<Argument> arguments)
-
Method Summary
Modifier and Type Method Description boolean
hasNext()
Interpretation
next()
-
-
-
Constructor Detail
-
InterpretationIterator
public InterpretationIterator(java.util.List<Argument> arguments)
- Parameters:
arguments
- the arguments for which the possible interpretations are computed
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<Interpretation>
-
next
public Interpretation next()
- Specified by:
next
in interfacejava.util.Iterator<Interpretation>
-
-