org.activemath.studentmodel2.assessment.tbm
Class TransferableBeliefModel

java.lang.Object
  extended by org.activemath.studentmodel2.assessment.tbm.TransferableBeliefModel
All Implemented Interfaces:
IBeliefModel

public class TransferableBeliefModel
extends Object
implements IBeliefModel


Constructor Summary
TransferableBeliefModel()
           
 
Method Summary
 IBeliefContainer estimateConceptMastery(Collection masteries)
          Computes a complete mastery (value in [0, 100]), given masteries for all competencies
 IBeliefContainer estimateMastery(Collection evidences)
          Calculate the beliefs and estimate the mastery based on the beliefs.
 IBeliefContainer estimateMastery(Collection directEvidences, Collection indirectEvidences)
          Calculate the beliefs and estimate the mastery based on the beliefs.
 String getName()
          Get the name of the belief model in use
 boolean isPositiveEvidence(Evidence evidence)
          Determines whether the given exercise is a positive evidence or a negative one - needed to determine the direction of propagation of indirect evidence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransferableBeliefModel

public TransferableBeliefModel()
Method Detail

estimateMastery

public IBeliefContainer estimateMastery(Collection evidences)
Description copied from interface: IBeliefModel
Calculate the beliefs and estimate the mastery based on the beliefs.

Specified by:
estimateMastery in interface IBeliefModel
Parameters:
evidences - - A list of evidences to be taken into account
Returns:
- BaliefContainer with corresponding belief values

getName

public String getName()
Description copied from interface: IBeliefModel
Get the name of the belief model in use

Specified by:
getName in interface IBeliefModel
Returns:
- The name of the model, like bayes or tbm

isPositiveEvidence

public boolean isPositiveEvidence(Evidence evidence)
Description copied from interface: IBeliefModel
Determines whether the given exercise is a positive evidence or a negative one - needed to determine the direction of propagation of indirect evidence.

Specified by:
isPositiveEvidence in interface IBeliefModel
Returns:
True if it is a positive evidence, false otherwise

estimateConceptMastery

public IBeliefContainer estimateConceptMastery(Collection masteries)
Description copied from interface: IBeliefModel
Computes a complete mastery (value in [0, 100]), given masteries for all competencies

Specified by:
estimateConceptMastery in interface IBeliefModel
Parameters:
masteries - - a collection containing the different masteries as List of BeliefContainers for each competency
Returns:
A BeliefContainer, that contains the Mastery in [0,100] for a concept

estimateMastery

public IBeliefContainer estimateMastery(Collection directEvidences,
                                        Collection indirectEvidences)
Description copied from interface: IBeliefModel
Calculate the beliefs and estimate the mastery based on the beliefs. This method can differentiate between direct and indirect evidence.

Specified by:
estimateMastery in interface IBeliefModel
Returns:
- BaliefContainer with corresponding belief values