public abstract class AbstractCreepingMachineShop extends Object implements net.sf.tweety.commons.BeliefBaseMachineShop
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_ITERATIONS
The maximum number of steps in the line search.
|
static double |
PRECISION
The precision for finding the minimal consistent knowledge base.
|
| Constructor and Description |
|---|
AbstractCreepingMachineShop() |
| Modifier and Type | Method and Description |
|---|---|
protected PclBeliefSet |
characteristicFunction(PclBeliefSet beliefSet,
Map<ProbabilisticConditional,net.sf.tweety.math.probability.Probability> values)
Returns a modified belief base that replaces each conditionals probability
by the one given by "values".
|
protected abstract double |
getLowerBound()
Retrieves the lower bound for delta for this machine shop.
|
protected abstract double |
getUpperBound()
Retrieves the upper bound for delta for this machine shop.
|
protected abstract Map<ProbabilisticConditional,net.sf.tweety.math.probability.Probability> |
getValues(double delta,
PclBeliefSet beliefSet)
Computes the values of the conditionals for step delta
|
protected void |
init(PclBeliefSet beliefSet)
Performs some optional initializations before beginning
to restore consistency.
|
net.sf.tweety.commons.BeliefBase |
repair(net.sf.tweety.commons.BeliefBase beliefBase) |
public static final double PRECISION
public static final int MAX_ITERATIONS
public net.sf.tweety.commons.BeliefBase repair(net.sf.tweety.commons.BeliefBase beliefBase)
repair in interface net.sf.tweety.commons.BeliefBaseMachineShopprotected void init(PclBeliefSet beliefSet)
beliefSet - a PCL belief set.protected PclBeliefSet characteristicFunction(PclBeliefSet beliefSet, Map<ProbabilisticConditional,net.sf.tweety.math.probability.Probability> values)
beliefSet - a belief setvalues - a map from conditionals to probabilities.protected abstract Map<ProbabilisticConditional,net.sf.tweety.math.probability.Probability> getValues(double delta, PclBeliefSet beliefSet)
delta - the step parameter.beliefSet - the belief set.protected abstract double getLowerBound()
protected abstract double getUpperBound()
Copyright © 2018. All rights reserved.