|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MassPotential
A generalization of a mass function.
A mass potential m over θ is a function from
2θ to [0,1].
The mass function corresponding to a mass potential
can be obtained using the normalize()
method.
Method Summary | |
---|---|
void |
addEvidence(Proposition prop,
double mass)
Assigns some evidence (mass) to a proposition. |
void |
applyThreshold(double threshold)
Deletes all mass assignments under the specified value. |
void |
condition(Proposition prop)
Conditions this mass potential to a subset of the frame. |
boolean |
equals(java.lang.Object mp)
|
Proposition |
getCore()
Returns the intersection of all the proposition to which this mass potential assigns some mass. |
double |
getEvidence(Proposition prop)
Returns the evidence assigned to a proposition so far. |
java.util.Set |
getFocalSets()
Returns the set of propositions to whom some evidence has been assigned. |
Frame |
getFrame()
Returns the set of all possible elementary events from which propositions are composed. |
void |
normalize()
Transforms this mass potential into a mass function. |
Proposition |
pick(java.util.Random ran)
|
BeliefFunction |
toBeliefFunction()
Produces the belief function corresponding to this mass potential. |
CommonalityFunction |
toCommonalityFunction()
Produces the commonality function corresponding to this mass potential. |
PlausibilityFunction |
toPlausibilityFunction()
Produces the plausibility function corresponding to this mass potential. |
Method Detail |
---|
boolean equals(java.lang.Object mp)
equals
in class java.lang.Object
void addEvidence(Proposition prop, double mass)
prop
- the proposition to which the evidence is assignedmass
- the evidence assigned to the propositiondouble getEvidence(Proposition prop)
prop
- the proposition we want to check
void normalize()
java.util.Set getFocalSets()
normalize()
) the empty proposition is not
returned by this method.
Frame getFrame()
Proposition getCore()
void condition(Proposition prop)
prop
- the proposition on which this mass potential is conditionedvoid applyThreshold(double threshold)
threshold
- the minimum value of mass that is retainedBeliefFunction toBeliefFunction()
PlausibilityFunction toPlausibilityFunction()
CommonalityFunction toCommonalityFunction()
Proposition pick(java.util.Random ran)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |