Class MaximumEntropyMachineShop
- java.lang.Object
-
- net.sf.tweety.logics.pcl.analysis.MaximumEntropyMachineShop
-
- All Implemented Interfaces:
BeliefBaseMachineShop
public class MaximumEntropyMachineShop extends java.lang.Object implements BeliefBaseMachineShop
This consistency restorer uses the idea of the upper approximative distance minimization inconsistency measure to compute a ME-probability distribution and adjust the probabilities of the conditionals accordingly.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description MaximumEntropyMachineShop(OptimizationRootFinder rootFinder)
-
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.
-
-
-
Constructor Detail
-
MaximumEntropyMachineShop
public MaximumEntropyMachineShop(OptimizationRootFinder rootFinder)
-
-
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, GeneralMathException
- Throws:
java.io.FileNotFoundException
ParserException
java.io.IOException
GeneralMathException
-
-