public class RandomSatSampler extends net.sf.tweety.commons.BeliefSetSampler<PropositionalFormula,PlBeliefSet>
| Constructor and Description |
|---|
RandomSatSampler(net.sf.tweety.commons.Signature signature,
int k)
Constructs a new sampler
|
RandomSatSampler(net.sf.tweety.commons.Signature signature,
int k,
int minLength,
int maxLength)
Constructs a new sampler
|
| Modifier and Type | Method and Description |
|---|---|
PlBeliefSet |
next() |
Disjunction |
randomClause()
Generates a random clause with k literals.
|
getMaxLength, getMinLength, getSignature, hasNextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic RandomSatSampler(net.sf.tweety.commons.Signature signature,
int k)
signature - some signaturek - the length of each clausepublic RandomSatSampler(net.sf.tweety.commons.Signature signature,
int k,
int minLength,
int maxLength)
signature - some signaturek - the length of each clauseminLength - the minimum length of knowledge basesmaxLength - the maximum length of knowledge basespublic PlBeliefSet next()
next in interface Iterator<PlBeliefSet>next in interface net.sf.tweety.commons.BeliefSetIterator<PropositionalFormula,PlBeliefSet>next in class net.sf.tweety.commons.BeliefSetSampler<PropositionalFormula,PlBeliefSet>public Disjunction randomClause()
Copyright © 2019. All rights reserved.