public class CnfSampler extends net.sf.tweety.commons.BeliefBaseSampler<PlBeliefSet>
| Constructor and Description |
|---|
CnfSampler(net.sf.tweety.commons.Signature signature,
double maxVariableRatio)
Creates a new sampler for the given signature.
|
| Modifier and Type | Method and Description |
|---|---|
PropositionalFormula |
randomFormula()
Samples a random formula (a disjunction of literals).
|
PlBeliefSet |
randomSample(int minLength,
int maxLength) |
public CnfSampler(net.sf.tweety.commons.Signature signature,
double maxVariableRatio)
signature - maxVariableRatio - the maximum ratio (a value between 0 and 1) of variables
of the signature appearing in some formula.public PlBeliefSet randomSample(int minLength, int maxLength)
randomSample in class net.sf.tweety.commons.BeliefBaseSampler<PlBeliefSet>public PropositionalFormula randomFormula()
Copyright © 2018. All rights reserved.