Class MinimumAggregatedDistanceMachineShop
- java.lang.Object
-
- net.sf.tweety.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()
-
Method Summary
Modifier and Type Method Description static void
main(java.lang.String[] args)
BeliefBase
repair(BeliefBase beliefBase)
Repairs the given belief base, i.e.
-
-
-
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.
-
main
public static void main(java.lang.String[] args) throws java.io.FileNotFoundException, ParserException, java.io.IOException
- Throws:
java.io.FileNotFoundException
ParserException
java.io.IOException
-
-