public class SyntacticEnumeratingIterator extends Object implements net.sf.tweety.commons.BeliefSetIterator<PropositionalFormula,PlBeliefSet>
| Constructor and Description |
|---|
SyntacticEnumeratingIterator(PropositionalSignature signature,
int formulaLength,
File pathToTmp,
boolean deleteTmp)
Creates a new sampler.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
PlBeliefSet |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic SyntacticEnumeratingIterator(PropositionalSignature signature, int formulaLength, File pathToTmp, boolean deleteTmp)
signature - the signature for formulas of the generated belief set.formulaLength - the maximal length of each formula (each proposition, negation, conjunction, and
disjunction counts one).pathToTmp - the path to a folder where intermediate results (all formulas up to the required length)
are storeddeleteTmp - if "true" then the temporary folder is cleaned after each sample (it is recommended to set this
to "false" to speed up sampling)public boolean hasNext()
hasNext in interface Iterator<PlBeliefSet>hasNext in interface net.sf.tweety.commons.BeliefSetIterator<PropositionalFormula,PlBeliefSet>public PlBeliefSet next()
next in interface Iterator<PlBeliefSet>next in interface net.sf.tweety.commons.BeliefSetIterator<PropositionalFormula,PlBeliefSet>Copyright © 2019. All rights reserved.