public class CanonicalEnumerator extends Object implements Iterator<PlBeliefSet>
| Constructor and Description |
|---|
CanonicalEnumerator()
Default constructor.
|
CanonicalEnumerator(BigInteger startIndex)
Creates a new enumerator that enumerates
knowledge bases starting from the given index
|
CanonicalEnumerator(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)
|
CanonicalEnumerator(Integer startIndex)
Creates a new enumerator that enumerates
knowledge bases starting from the given index
|
CanonicalEnumerator(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)
|
CanonicalEnumerator(Long startIndex)
Creates a new enumerator that enumerates
knowledge bases starting from the given index
|
CanonicalEnumerator(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 CanonicalEnumerator()
public CanonicalEnumerator(Long startIndex)
startIndex - some integer valuepublic CanonicalEnumerator(Integer startIndex)
startIndex - some integer valuepublic CanonicalEnumerator(BigInteger startIndex)
startIndex - some integer valuepublic CanonicalEnumerator(Long startIndex, Long endIndex)
startIndex - some integer valueendIndex - some integer valuepublic CanonicalEnumerator(Integer startIndex, Integer endIndex)
startIndex - some integer valueendIndex - some integer valuepublic CanonicalEnumerator(BigInteger startIndex, BigInteger endIndex)
startIndex - some integer valueendIndex - some integer valuepublic boolean hasNext()
hasNext in interface Iterator<PlBeliefSet>public PlBeliefSet next()
next in interface Iterator<PlBeliefSet>public BigInteger nextIndex()
public static BitSet beliefSet2BitSet(PlBeliefSet bs)
bs - some belief setCopyright © 2018. All rights reserved.