public class CanonicalIterator extends Object implements net.sf.tweety.commons.BeliefSetIterator<PropositionalFormula,PlBeliefSet>
| Constructor and Description |
|---|
CanonicalIterator()
Default constructor.
|
CanonicalIterator(BigInteger startIndex)
Creates a new enumerator that enumerates
knowledge bases starting from the given index
|
CanonicalIterator(BigInteger startIndex,
BigInteger endIndex)
Creates a new enumerator that enumerates
knowledge bases starting from the given start
index up to the given end index (including)
|
CanonicalIterator(Integer startIndex)
Creates a new enumerator that enumerates
knowledge bases starting from the given index
|
CanonicalIterator(Integer startIndex,
Integer endIndex)
Creates a new enumerator that enumerates
knowledge bases starting from the given start
index up to the given end index (including)
|
CanonicalIterator(Long startIndex)
Creates a new enumerator that enumerates
knowledge bases starting from the given index
|
CanonicalIterator(Long startIndex,
Long endIndex)
Creates a new enumerator that enumerates
knowledge bases starting from the given start
index up to the given end index (including)
|
| Modifier and Type | Method and Description |
|---|---|
static BitSet |
beliefSet2BitSet(PlBeliefSet bs)
Creates a bitset representation of the given belief set.
|
boolean |
hasNext() |
PlBeliefSet |
next() |
BigInteger |
nextIndex()
Returns the index of the next element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic CanonicalIterator()
public CanonicalIterator(Long startIndex)
startIndex - some integer valuepublic CanonicalIterator(Integer startIndex)
startIndex - some integer valuepublic CanonicalIterator(BigInteger startIndex)
startIndex - some integer valuepublic CanonicalIterator(Long startIndex, Long endIndex)
startIndex - some integer valueendIndex - some integer valuepublic CanonicalIterator(Integer startIndex, Integer endIndex)
startIndex - some integer valueendIndex - some integer valuepublic CanonicalIterator(BigInteger startIndex, BigInteger endIndex)
startIndex - some integer valueendIndex - some integer valuepublic 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>public BigInteger nextIndex()
public static BitSet beliefSet2BitSet(PlBeliefSet bs)
bs - some belief setCopyright © 2019. All rights reserved.