Class PenalizingCreepingMachineShop
- java.lang.Object
-
- org.tweetyproject.logics.pcl.analysis.AbstractCreepingMachineShop
-
- org.tweetyproject.logics.pcl.analysis.PenalizingCreepingMachineShop
-
- All Implemented Interfaces:
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 org.tweetyproject.logics.pcl.analysis.AbstractCreepingMachineShop
MAX_ITERATIONS, PRECISION
-
-
Constructor Summary
Constructors Constructor Description PenalizingCreepingMachineShop(OptimizationRootFinder rootFinder)
-
Method Summary
Modifier and Type Method Description BeliefBaserepair(BeliefBase beliefBase)Repairs the given belief base, i.e.
-
-
-
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
-
-
Constructor Detail
-
PenalizingCreepingMachineShop
public PenalizingCreepingMachineShop(OptimizationRootFinder rootFinder)
-
-
Method Detail
-
repair
public BeliefBase repair(BeliefBase beliefBase)
Description copied from interface:BeliefBaseMachineShopRepairs the given belief base, i.e. restores consistency.- Specified by:
repairin interfaceBeliefBaseMachineShop- Overrides:
repairin classAbstractCreepingMachineShop- Parameters:
beliefBase- a possibly inconsistent belief base.- Returns:
- a consistent belief base that is as close as possible to the given belief base. NOTE: if the given belief base is consistent this method is expected to return it unmodified.
-
-