Class RandomSampler

    • Field Summary

      • Fields inherited from class net.sf.tweety.commons.BeliefSetSampler

        DEFAULT_MAXIMUM_BELIEFBASE_LENGTH, DEFAULT_MINIMUM_BELIEFBASE_LENGTH
    • Constructor Summary

      Constructors 
      Constructor Description
      RandomSampler​(net.sf.tweety.commons.Signature signature, double worldProb)
      Creates a new sampler for the given signature
      RandomSampler​(net.sf.tweety.commons.Signature signature, double worldProb, int minLength, int maxLength)
      Creates a new sampler for the given signature
    • Constructor Detail

      • RandomSampler

        public RandomSampler​(net.sf.tweety.commons.Signature signature,
                             double worldProb)
        Creates a new sampler for the given signature
        Parameters:
        signature - some signature
        worldProb - Probability of selecting any world as a model of a formula
      • RandomSampler

        public RandomSampler​(net.sf.tweety.commons.Signature signature,
                             double worldProb,
                             int minLength,
                             int maxLength)
        Creates a new sampler for the given signature
        Parameters:
        signature - some signature
        worldProb - Probability of selecting any world as a model of a formula
        minLength - the minimum length of knowledge bases
        maxLength - the maximum length of knowledge bases