Class CanonicalIterator

java.lang.Object
org.tweetyproject.logics.pl.util.CanonicalIterator
All Implemented Interfaces:
Iterator<PlBeliefSet>, BeliefSetIterator<PlFormula,PlBeliefSet>

public class CanonicalIterator extends Object implements BeliefSetIterator<PlFormula,PlBeliefSet>
Provides an iterator on all syntactically equivalent knowledge bases.
Author:
Matthias Thimm
  • Constructor Details

    • CanonicalIterator

      public CanonicalIterator()
      Default constructor. Creates an enumerator that enumerates knowledge bases starting from index 1.
    • CanonicalIterator

      public CanonicalIterator(Long startIndex)
      Creates a new enumerator that enumerates knowledge bases starting from the given index
      Parameters:
      startIndex - some integer value
    • CanonicalIterator

      public CanonicalIterator(Integer startIndex)
      Creates a new enumerator that enumerates knowledge bases starting from the given index
      Parameters:
      startIndex - some integer value
    • CanonicalIterator

      public CanonicalIterator(BigInteger startIndex)
      Creates a new enumerator that enumerates knowledge bases starting from the given index
      Parameters:
      startIndex - some integer value
    • CanonicalIterator

      public 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)
      Parameters:
      startIndex - some integer value
      endIndex - some integer value
    • CanonicalIterator

      public 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)
      Parameters:
      startIndex - some integer value
      endIndex - some integer value
    • CanonicalIterator

      public 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)
      Parameters:
      startIndex - some integer value
      endIndex - some integer value
  • Method Details