Class GeneralizedMeMachineShop
java.lang.Object
org.tweetyproject.logics.pcl.analysis.GeneralizedMeMachineShop
- All Implemented Interfaces:
BeliefBaseMachineShop
Uses the generalized ME-model of a knowledge base to repair it, cf. [Potyka, Thimm, 2014].
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorDescriptionGeneralizedMeMachineShop
(int p) Creates a new machine shop with the given norm. -
Method Summary
Modifier and TypeMethodDescriptionrepair
(BeliefBase beliefBase) Repairs the given belief base, i.e.toString()
-
Constructor Details
-
GeneralizedMeMachineShop
public GeneralizedMeMachineShop(int p) Creates a new machine shop with the given norm.- Parameters:
p
- the p for the p-norm.
-
-
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.
-
toString
-