Class PclBeliefSetQuadraticErrorMinimizationMachineShop
java.lang.Object
org.tweetyproject.logics.pcl.analysis.PclBeliefSetQuadraticErrorMinimizationMachineShop
- All Implemented Interfaces:
BeliefBaseMachineShop
public class PclBeliefSetQuadraticErrorMinimizationMachineShop
extends 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
ConstructorDescriptionPclBeliefSetQuadraticErrorMinimizationMachineShop
(CulpabilityMeasure<ProbabilisticConditional, PclBeliefSet> culpabilityMeasure, OptimizationRootFinder rootFinder) Creates a new machine shop based on the given culpability measure. -
Method Summary
Modifier and TypeMethodDescriptionrepair
(BeliefBase beliefBase) Repairs the given belief base, i.e.
-
Constructor Details
-
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 Details
-
repair
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.
-