Class AbstractCreepingMachineShop
- java.lang.Object
-
- net.sf.tweety.logics.pcl.analysis.AbstractCreepingMachineShop
-
- All Implemented Interfaces:
BeliefBaseMachineShop
- Direct Known Subclasses:
PenalizingCreepingMachineShop
,SmoothedPenalizingCreepingMachineShop
,UnbiasedCreepingMachineShop
public abstract class AbstractCreepingMachineShop extends java.lang.Object implements BeliefBaseMachineShop
The common ancestor vor creeping machine shops, see [Diss, Thimm] for details.- Author:
- Matthias Thimm
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_ITERATIONS
The maximum number of steps in the line search.static double
PRECISION
The precision for finding the minimal consistent knowledge base.
-
Constructor Summary
Constructors Constructor Description AbstractCreepingMachineShop(OptimizationRootFinder rootFinder)
-
Method Summary
Modifier and Type Method Description BeliefBase
repair(BeliefBase beliefBase)
Repairs the given belief base, i.e.
-
-
-
Field Detail
-
PRECISION
public static final double PRECISION
The precision for finding the minimal consistent knowledge base.- See Also:
- Constant Field Values
-
MAX_ITERATIONS
public static final int MAX_ITERATIONS
The maximum number of steps in the line search.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractCreepingMachineShop
public AbstractCreepingMachineShop(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.
-
-