org.activemath.studentmodel2.assessment.tbm
Class TBMBeliefContainer

java.lang.Object
  extended by org.activemath.studentmodel2.assessment.tbm.TBMBeliefContainer
All Implemented Interfaces:
IBeliefContainer

public class TBMBeliefContainer
extends Object
implements IBeliefContainer


Constructor Summary
TBMBeliefContainer()
           
 
Method Summary
 HypothesesContainer getBeliefMasses()
           
 double getPignistic()
          Get the pignistic value (the mastery) stored in the BeliefContainer.
 double getPlausibility()
          Get the plausibility value of the mastery stored in the BeliefContainer.
 boolean isIndirectEvidenceUsed()
          Has indirect evidence been used to form the belief
 void setBeliefMasses(HypothesesContainer beliefMasses)
           
 void setIndirectEvidenceUsed(boolean indirectEvidenceUsed)
          Set whether indirect evidence been used to form the belief or not
 void setPignistic(double pignistic)
          Set the pignistic value (the mastery) stored in the BeliefContainer.
 void setPlausibility(double plausibility)
          Set the plausibility value for the mastery stored in the BeliefContainer.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TBMBeliefContainer

public TBMBeliefContainer()
Method Detail

getBeliefMasses

public HypothesesContainer getBeliefMasses()
Returns:
the hypotheses

setBeliefMasses

public void setBeliefMasses(HypothesesContainer beliefMasses)
Parameters:
beliefMasses - the hypotheses to set

getPignistic

public double getPignistic()
Description copied from interface: IBeliefContainer
Get the pignistic value (the mastery) stored in the BeliefContainer. The pignistic value is always a normalized mastery in [0,1].

Specified by:
getPignistic in interface IBeliefContainer
Returns:
the pignistic

setPignistic

public void setPignistic(double pignistic)
Description copied from interface: IBeliefContainer
Set the pignistic value (the mastery) stored in the BeliefContainer.

Specified by:
setPignistic in interface IBeliefContainer
Parameters:
pignistic - the pignistic to set

getPlausibility

public double getPlausibility()
Description copied from interface: IBeliefContainer
Get the plausibility value of the mastery stored in the BeliefContainer. It can be interpreted as a measure of how strong we believe in the computed pignistic value. A value of 0 means no trust at all and a value of 1 means we are absolutely sure about the estimated pignistic value.

Specified by:
getPlausibility in interface IBeliefContainer
Returns:
the plausibility

setPlausibility

public void setPlausibility(double plausibility)
Description copied from interface: IBeliefContainer
Set the plausibility value for the mastery stored in the BeliefContainer.

Specified by:
setPlausibility in interface IBeliefContainer
Parameters:
plausibility - the plausibility to set

isIndirectEvidenceUsed

public boolean isIndirectEvidenceUsed()
Description copied from interface: IBeliefContainer
Has indirect evidence been used to form the belief

Specified by:
isIndirectEvidenceUsed in interface IBeliefContainer
Returns:
the indirectEvidenceUsed

setIndirectEvidenceUsed

public void setIndirectEvidenceUsed(boolean indirectEvidenceUsed)
Description copied from interface: IBeliefContainer
Set whether indirect evidence been used to form the belief or not

Specified by:
setIndirectEvidenceUsed in interface IBeliefContainer
Parameters:
indirectEvidenceUsed - the indirectEvidenceUsed to set

toString

public String toString()
Overrides:
toString in class Object