public class MiSampler extends BeliefBaseSampler<PlBeliefSet>
Modifier and Type | Field and Description |
---|---|
private int |
incvalue
The inconsistency value of the generated belief sets
(wrt.
|
DEFAULT_MAXIMUM_BELIEFBASE_LENGTH, DEFAULT_MINIMUM_BELIEFBASE_LENGTH
Constructor and Description |
---|
MiSampler(PropositionalSignature signature,
int incvalue)
Creates a new sample for the given signature
which generates propositional belief sets with the
given inconsistency value (wrt.
|
Modifier and Type | Method and Description |
---|---|
PlBeliefSet |
randomSample(int minLength,
int maxLength)
This method randomly samples a single belief base of the given signature
with the given belief base length.
|
getSignature, randomSample, randomSample
private int incvalue
public MiSampler(PropositionalSignature signature, int incvalue)
signature
- some propositional signatureincvalue
- some inconsistency value.public PlBeliefSet randomSample(int minLength, int maxLength)
BeliefBaseSampler
randomSample
in class BeliefBaseSampler<PlBeliefSet>
minLength
- the minimum length of the belief base.maxLength
- the maximum length of the belief base.