it.unibo.cs.belief
Interface BeliefFunction

All Known Implementing Classes:
TreeBeliefFunction

public interface BeliefFunction

A representation of degrees of beliefs. The belief in a proposition is defined to be the sum of all the evidence (mass) assigned to subsets of that proposition. For example, the belief in the set {a,b} is the sum of the evidence supporting {a}, the evidence supporting {b}, and the evidence supporting {a,b}.

Version:
0.1
Author:
Matteo Magnani

Method Summary
 void addBelief(Proposition prop, double belief)
          Increases the belief in a proposition by a specified value.
 double getBelief(Proposition prop)
          Finds the belief assigned to a proposition so far.
 CommonalityFunction toCommonalityFunction()
          Produces the commonality function corresponding to this belief function.
 MassPotential toMassPotential()
          Produces a mass potential corresponding to this belief function.
 PlausibilityFunction toPlausibilityFunction()
          Produces the plausibility function corresponding to this belief function.
 

Method Detail

addBelief

void addBelief(Proposition prop,
               double belief)
Increases the belief in a proposition by a specified value. This method may lead to functions that do not represent degrees of beliefs. Therefore, it should not be used by classes outside the package, except if you know what you are doing.

Parameters:
prop - the proposition to which the belief is assigned
belief - the belief assigned to the proposition

getBelief

double getBelief(Proposition prop)
Finds the belief assigned to a proposition so far.

Parameters:
prop - the proposition we want to check
Returns:
a degree of belief

toMassPotential

MassPotential toMassPotential()
Produces a mass potential corresponding to this belief function. In particular, this mass potential is (approximately) a mass function.

Returns:
a mass potential

toPlausibilityFunction

PlausibilityFunction toPlausibilityFunction()
Produces the plausibility function corresponding to this belief function.

Returns:
a plausibility function

toCommonalityFunction

CommonalityFunction toCommonalityFunction()
Produces the commonality function corresponding to this belief function.

Returns:
a commonality function