Package org.tweetyproject.logics.pl.util
Class MiSampler
java.lang.Object
org.tweetyproject.commons.BeliefSetSampler<PlFormula,PlBeliefSet>
 
org.tweetyproject.logics.pl.util.MiSampler
- All Implemented Interfaces:
- Iterator<PlBeliefSet>,- BeliefSetIterator<PlFormula,- PlBeliefSet> 
Generates random propositional belief base with a given
 inconsistency measure (for the MI inconsistency measure)
 and of a given size.
 
 NOTE: this sampler is quite simple and only generates
 MIs of size four and is very demanding on the size of the
 signature.
- Author:
- Matthias Thimm
- 
Field SummaryFields inherited from class org.tweetyproject.commons.BeliefSetSamplerDEFAULT_MAXIMUM_BELIEFBASE_LENGTH, DEFAULT_MINIMUM_BELIEFBASE_LENGTH
- 
Constructor SummaryConstructorsConstructorDescriptionMiSampler(PlSignature signature, int incvalue) Creates a new sample for the given signature which generates propositional belief sets with the given inconsistency value (wrt.MiSampler(PlSignature signature, int incvalue, int minLength, int maxLength) Creates a new sample for the given signature which generates propositional belief sets with the given inconsistency value (wrt.
- 
Method SummaryMethods inherited from class org.tweetyproject.commons.BeliefSetSamplergetMaxLength, getMinLength, getSamplerSignature, hasNextMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemaining, remove
- 
Constructor Details- 
MiSamplerCreates a new sample for the given signature which generates propositional belief sets with the given inconsistency value (wrt. the MI inconsistency measure)- Parameters:
- signature- some propositional signature
- incvalue- some inconsistency value.
 
- 
MiSamplerCreates a new sample for the given signature which generates propositional belief sets with the given inconsistency value (wrt. the MI inconsistency measure)- Parameters:
- signature- some propositional signature
- incvalue- some inconsistency value.
- minLength- the minimum length of knowledge bases
- maxLength- the maximum length of knowledge bases
 
 
- 
- 
Method Details- 
next- Specified by:
- nextin interface- BeliefSetIterator<PlFormula,- PlBeliefSet> 
- Specified by:
- nextin interface- Iterator<PlBeliefSet>
- Specified by:
- nextin class- BeliefSetSampler<PlFormula,- PlBeliefSet> 
 
 
-