Class PclBeliefSetQuadraticErrorMinimizationMachineShop
- java.lang.Object
-
- net.sf.tweety.logics.pcl.analysis.PclBeliefSetQuadraticErrorMinimizationMachineShop
-
- All Implemented Interfaces:
BeliefBaseMachineShop
public class PclBeliefSetQuadraticErrorMinimizationMachineShop extends java.lang.Object implements BeliefBaseMachineShop
This class is capable of restoring consistency of a possible inconsistent probabilistic conditional belief set. Restoring consistency is performed by minimizing the quadratic distance to the original belief set using some culpability measure, see [Diss, Thimm] for details.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description PclBeliefSetQuadraticErrorMinimizationMachineShop(CulpabilityMeasure<ProbabilisticConditional,PclBeliefSet> culpabilityMeasure, OptimizationRootFinder rootFinder)
Creates a new machine shop based on the given culpability measure.
-
Method Summary
Modifier and Type Method Description BeliefBase
repair(BeliefBase beliefBase)
Repairs the given belief base, i.e.
-
-
-
Constructor Detail
-
PclBeliefSetQuadraticErrorMinimizationMachineShop
public PclBeliefSetQuadraticErrorMinimizationMachineShop(CulpabilityMeasure<ProbabilisticConditional,PclBeliefSet> culpabilityMeasure, OptimizationRootFinder rootFinder)
Creates a new machine shop based on the given culpability measure.- Parameters:
culpabilityMeasure
- a culpability measure.rootFinder
- a root finder
-
-
Method Detail
-
repair
public BeliefBase repair(BeliefBase beliefBase)
Description copied from interface:BeliefBaseMachineShop
Repairs the given belief base, i.e. restores consistency.- Specified by:
repair
in interfaceBeliefBaseMachineShop
- 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.
-
-