public class PenalizingCreepingMachineShop extends AbstractCreepingMachineShop
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ProbabilisticConditional,java.lang.Double> |
culpVector
The culpability vector.
|
private static org.slf4j.Logger |
log
Logger.
|
static double |
MIN_STEP_LENGTH
The minimal step length for line search.
|
static double |
STEP_LENGTH
The step length for the line search.
|
MAX_ITERATIONS, PRECISION
Constructor and Description |
---|
PenalizingCreepingMachineShop() |
Modifier and Type | Method and Description |
---|---|
protected double |
getLowerBound()
Retrieves the lower bound for delta for this machine shop.
|
protected double |
getUpperBound()
Retrieves the upper bound for delta for this machine shop.
|
protected java.util.Map<ProbabilisticConditional,Probability> |
getValues(double delta,
PclBeliefSet beliefSet)
Computes the values of the conditionals for step delta
|
BeliefBase |
repair(BeliefBase beliefBase)
Repairs the given belief base, i.e.
|
private double |
u(double x)
Returns x iff x is in the uniform interval.
|
characteristicFunction, init
public static final double STEP_LENGTH
public static final double MIN_STEP_LENGTH
private java.util.Map<ProbabilisticConditional,java.lang.Double> culpVector
private static org.slf4j.Logger log
public BeliefBase repair(BeliefBase beliefBase)
BeliefBaseMachineShop
repair
in interface BeliefBaseMachineShop
repair
in class AbstractCreepingMachineShop
beliefBase
- a possibly inconsistent belief base.protected double getLowerBound()
AbstractCreepingMachineShop
getLowerBound
in class AbstractCreepingMachineShop
protected double getUpperBound()
AbstractCreepingMachineShop
getUpperBound
in class AbstractCreepingMachineShop
protected java.util.Map<ProbabilisticConditional,Probability> getValues(double delta, PclBeliefSet beliefSet)
AbstractCreepingMachineShop
getValues
in class AbstractCreepingMachineShop
delta
- the step parameter.beliefSet
- the belief set.private double u(double x)
x
- a double.