public class DistanceMinimizationMachineShop extends java.lang.Object implements BeliefBaseMachineShop
Modifier and Type | Field and Description |
---|---|
private int |
p
The p-norm parameter.
|
Constructor and Description |
---|
DistanceMinimizationMachineShop()
Creates a new restorer for p=1.
|
DistanceMinimizationMachineShop(int p)
Creates a new restorer for the given p.
|
Modifier and Type | Method and Description |
---|---|
BeliefBase |
repair(BeliefBase beliefBase)
Repairs the given belief base, i.e.
|
public DistanceMinimizationMachineShop()
public DistanceMinimizationMachineShop(int p)
p
- some parameter for the p-norm.public BeliefBase repair(BeliefBase beliefBase)
BeliefBaseMachineShop
repair
in interface BeliefBaseMachineShop
beliefBase
- a possibly inconsistent belief base.