Package org.tweetyproject.commons
Interface InterpretationIterator<S extends Formula,B extends BeliefBase,T extends Interpretation<B,S>>
- Type Parameters:
S
- The type of formulasB
- The type of belief basesT
- The actual type of interpretations
- All Superinterfaces:
Iterator<T>
- All Known Implementing Classes:
FourValuedWorldIterator
,PossibleWorldIterator
,PriestWorldIterator
public interface InterpretationIterator<S extends Formula,B extends BeliefBase,T extends Interpretation<B,S>>
extends Iterator<T>
An iterator over interpretations.
- Author:
- Matthias Thimm
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
next()
void
remove()
reset()
Initializes a new reseted iterator.reset
(Collection<? extends Formula> formulas) Initializes a new reseted iterator for the given signature derived from the given set of formulas.Initializes a new reseted iterator for the given signature.Methods inherited from interface java.util.Iterator
forEachRemaining
-
Method Details
-
hasNext
-
next
-
remove
-
reset
InterpretationIterator<S,B, reset()T> Initializes a new reseted iterator.- Returns:
- a reseted iterator.
-
reset
Initializes a new reseted iterator for the given signature.- Parameters:
sig
- some signature.- Returns:
- a reseted iterator for the given signature.
-
reset
Initializes a new reseted iterator for the given signature derived from the given set of formulas.- Parameters:
formulas
- a set of formulas.- Returns:
- a reseted iterator for the given signature derived from the given set of formulas.
-