Class MinimumAggregatedDistanceMachineShop
- java.lang.Object
-
- org.tweetyproject.logics.pcl.analysis.MinimumAggregatedDistanceMachineShop
-
- All Implemented Interfaces:
BeliefBaseMachineShop
public class MinimumAggregatedDistanceMachineShop extends java.lang.Object implements BeliefBaseMachineShop
This approach to consistency restoration follows the approach proposed in [Thimm, DKB, 2011].- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description MinimumAggregatedDistanceMachineShop(OptimizationRootFinder rootFinder)
-
Method Summary
Modifier and Type Method Description BeliefBaserepair(BeliefBase beliefBase)Repairs the given belief base, i.e.
-
-
-
Constructor Detail
-
MinimumAggregatedDistanceMachineShop
public MinimumAggregatedDistanceMachineShop(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- 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.
-
-