Class PenalizingCreepingMachineShop
- java.lang.Object
-
- net.sf.tweety.logics.pcl.analysis.AbstractCreepingMachineShop
-
- net.sf.tweety.logics.pcl.analysis.PenalizingCreepingMachineShop
-
- All Implemented Interfaces:
net.sf.tweety.commons.BeliefBaseMachineShop
public class PenalizingCreepingMachineShop extends AbstractCreepingMachineShop
This class is capable of restoring consistency of a possible inconsistent probabilistic conditional belief set. Restoring consistency is performed by biased creeping of the original belief set using the cuplability vector, see [Diss, Thimm] for details.- Author:
- Matthias Thimm
-
-
Field Summary
Fields Modifier and Type Field Description static doubleMIN_STEP_LENGTHThe minimal step length for line search.static doubleSTEP_LENGTHThe step length for the line search.-
Fields inherited from class net.sf.tweety.logics.pcl.analysis.AbstractCreepingMachineShop
MAX_ITERATIONS, PRECISION
-
-
Constructor Summary
Constructors Constructor Description PenalizingCreepingMachineShop()
-
Method Summary
Modifier and Type Method Description protected doublegetLowerBound()Retrieves the lower bound for delta for this machine shop.protected doublegetUpperBound()Retrieves the upper bound for delta for this machine shop.protected Map<ProbabilisticConditional,net.sf.tweety.math.probability.Probability>getValues(double delta, PclBeliefSet beliefSet)Computes the values of the conditionals for step deltanet.sf.tweety.commons.BeliefBaserepair(net.sf.tweety.commons.BeliefBase beliefBase)-
Methods inherited from class net.sf.tweety.logics.pcl.analysis.AbstractCreepingMachineShop
characteristicFunction, init
-
-
-
-
Field Detail
-
STEP_LENGTH
public static final double STEP_LENGTH
The step length for the line search.- See Also:
- Constant Field Values
-
MIN_STEP_LENGTH
public static final double MIN_STEP_LENGTH
The minimal step length for line search.- See Also:
- Constant Field Values
-
-
Method Detail
-
repair
public net.sf.tweety.commons.BeliefBase repair(net.sf.tweety.commons.BeliefBase beliefBase)
- Specified by:
repairin interfacenet.sf.tweety.commons.BeliefBaseMachineShop- Overrides:
repairin classAbstractCreepingMachineShop
-
getLowerBound
protected double getLowerBound()
Description copied from class:AbstractCreepingMachineShopRetrieves the lower bound for delta for this machine shop.- Specified by:
getLowerBoundin classAbstractCreepingMachineShop- Returns:
- the lower bound for delta for this machine shop.
-
getUpperBound
protected double getUpperBound()
Description copied from class:AbstractCreepingMachineShopRetrieves the upper bound for delta for this machine shop.- Specified by:
getUpperBoundin classAbstractCreepingMachineShop- Returns:
- the upper bound for delta for this machine shop.
-
getValues
protected Map<ProbabilisticConditional,net.sf.tweety.math.probability.Probability> getValues(double delta, PclBeliefSet beliefSet)
Description copied from class:AbstractCreepingMachineShopComputes the values of the conditionals for step delta- Specified by:
getValuesin classAbstractCreepingMachineShop- Parameters:
delta- the step parameter.beliefSet- the belief set.- Returns:
- a map mapping conditionals to probabilities.
-
-