Class MinimalViolationEuclideanMachineShop
- java.lang.Object
-
- net.sf.tweety.logics.pcl.analysis.MinimalViolationEuclideanMachineShop
-
- All Implemented Interfaces:
BeliefBaseMachineShop
- Direct Known Subclasses:
MinimalViolationEuclideanMachineShopOjAlgoExpression,MinimalViolationEuclideanMachineShopOjAlgoMatrix
public abstract class MinimalViolationEuclideanMachineShop extends java.lang.Object implements BeliefBaseMachineShop
Repairs a probabilistic belief base by taking the probabilities from the probability function that minimizes the "minimal violation inconsistency measure" with respect to the euclidean norm.- Author:
- Nico Potyka
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.LoggerlogLogger.
-
Constructor Summary
Constructors Constructor Description MinimalViolationEuclideanMachineShop()
-
Method Summary
Modifier and Type Method Description BeliefBaserepair(BeliefBase beliefBase)Repairs the given belief base, i.e.protected abstract BeliefBaserepair(PclBeliefSet beliefSet)
-
-
-
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.
-
repair
protected abstract BeliefBase repair(PclBeliefSet beliefSet)
-
-