Class EnumeratingIterator

  • All Implemented Interfaces:
    Iterator<PlBeliefSet>, net.sf.tweety.commons.BeliefSetIterator<PlFormula,​PlBeliefSet>

    public class EnumeratingIterator
    extends Object
    implements net.sf.tweety.commons.BeliefSetIterator<PlFormula,​PlBeliefSet>
    This sampler enumerates all possible propositional belief bases of the given signature. It does so by taking all subsets of the set of interpretations as the models of some formula and combines all these formulas in all ways.
    Author:
    Matthias Thimm
    • Constructor Detail

      • EnumeratingIterator

        public EnumeratingIterator​(PlSignature signature)
        Creates a new sampler for the given signature
        Parameters:
        signature - some signature