org.activemath.studentmodel2.assessment.simple
Class SimpleBeliefContainer

java.lang.Object
  extended by org.activemath.studentmodel2.assessment.simple.SimpleBeliefContainer
All Implemented Interfaces:
IBeliefContainer

public class SimpleBeliefContainer
extends Object
implements IBeliefContainer


Field Summary
protected  boolean indirectEvidenceUsed
           
protected  double mastery
           
 
Constructor Summary
SimpleBeliefContainer()
           
 
Method Summary
 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 setIndirectEvidenceUsed(boolean usedIndirectEvidence)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indirectEvidenceUsed

protected boolean indirectEvidenceUsed

mastery

protected double mastery
Constructor Detail

SimpleBeliefContainer

public SimpleBeliefContainer()
Method Detail

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 value, the mastery in [0,1]

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 in [0,1] for the estimated mastery

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:
true if indirect evidence has been taken into account, else false

setIndirectEvidenceUsed

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

Specified by:
setIndirectEvidenceUsed in interface IBeliefContainer
Parameters:
usedIndirectEvidence - - set true if indirect evidence has been taken into account for computing the mastery, else set to false

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 value, the mastery, a value in [0,1], -1 for unknown

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 value for the mastery, a value in [0,1]