public class MeanDistanceCulpabilityMeasure extends java.lang.Object implements SignedCulpabilityMeasure
Modifier and Type | Field and Description |
---|---|
private boolean |
normalized
Whether this measure uses the normalized mindev measure.
|
Constructor and Description |
---|
MeanDistanceCulpabilityMeasure(boolean normalized)
Creates a new measure.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
culpabilityMeasure(PclBeliefSet beliefSet,
ProbabilisticConditional conditional)
Returns the degree of responsibility of the given formula to cause
inconsistency in the given belief set (NOTE: the formula should be
in the given belief set).
|
private OptimizationProblem |
getBaseProblem(PclBeliefSet beliefSet,
ProbabilisticConditional conditional,
double incVal)
Creates the base problem (without target function set) for determining both minimal
and maximal incon values.
|
private java.lang.Double |
getMaximumValue(PclBeliefSet beliefSet,
ProbabilisticConditional conditional,
double incVal)
Determines the maximal value for the given conditional.
|
private java.lang.Double |
getMinimumValue(PclBeliefSet beliefSet,
ProbabilisticConditional conditional,
double incVal)
Determines the minimal value for the given conditional.
|
java.lang.Double |
sign(PclBeliefSet beliefSet,
ProbabilisticConditional conditional)
Determines the sign of the culpability of the given conditional
in the given belief set, i.e.
|
private boolean normalized
public MeanDistanceCulpabilityMeasure(boolean normalized)
normalized
- whether this measure uses the normalized mindev measure.public java.lang.Double culpabilityMeasure(PclBeliefSet beliefSet, ProbabilisticConditional conditional)
CulpabilityMeasure
culpabilityMeasure
in interface CulpabilityMeasure<ProbabilisticConditional,PclBeliefSet>
culpabilityMeasure
in interface SignedCulpabilityMeasure
beliefSet
- a belief set.public java.lang.Double sign(PclBeliefSet beliefSet, ProbabilisticConditional conditional)
SignedCulpabilityMeasure
sign
in interface SignedCulpabilityMeasure
beliefSet
- a belief setconditional
- a conditionalprivate java.lang.Double getMinimumValue(PclBeliefSet beliefSet, ProbabilisticConditional conditional, double incVal)
beliefSet
- a belief setconditional
- some conditional.incVal
- the value of the inconsistencyprivate java.lang.Double getMaximumValue(PclBeliefSet beliefSet, ProbabilisticConditional conditional, double incVal)
beliefSet
- a belief setconditional
- some conditional.incVal
- the value of the inconsistencyprivate OptimizationProblem getBaseProblem(PclBeliefSet beliefSet, ProbabilisticConditional conditional, double incVal)
beliefSet
- a belief setconditional
- some conditional.incVal
- the value of the inconsistency