org.activemath.studentmodel2.assessment.tbmirt
Class IRTTransferableBeliefModel

java.lang.Object
  extended by org.activemath.studentmodel2.assessment.tbmirt.IRTTransferableBeliefModel
All Implemented Interfaces:
IBeliefModel

public class IRTTransferableBeliefModel
extends Object
implements IBeliefModel


Constructor Summary
IRTTransferableBeliefModel()
           
 
Method Summary
 IBeliefContainer estimateConceptMastery(Collection<IBeliefContainer> masteries)
          Computes a complete mastery (value in [0, 100]), given masteries for all competencies
 IBeliefContainer estimateMastery(Collection<Evidence> evidences)
          Calculate the beliefs and estimate the mastery based on the beliefs.
 IBeliefContainer estimateMastery(Collection<Evidence> directEvidences, Collection<Evidence> indirectEvidences)
          Calculate the beliefs and estimate the mastery based on the beliefs.
static double getDirectEvidenceWeight()
           
 IRinterval getInformationRadius(Collection<Evidence> evidences)
          Calculate a reasonable value for the information radius based on the available evidence
static IRTTransferableBeliefModel getInstance()
          Get an instance (singleton) of IRTTransferableBeliefModel
static double getIRrange()
           
 String getName()
          Get the name of the belief model in use
static double getUncertaintyMass()
           
 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.
static void setDirectEvidenceWeight(double directEvidenceWeight)
           
static void setIRrange(double rrange)
           
static void setUncertaintyMass(double uncertaintyMass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IRTTransferableBeliefModel

public IRTTransferableBeliefModel()
Method Detail

getInstance

public static IRTTransferableBeliefModel getInstance()
Get an instance (singleton) of IRTTransferableBeliefModel

Returns:
an instance of IRTTransferableBeliefModel

getInformationRadius

public IRinterval getInformationRadius(Collection<Evidence> evidences)
Calculate a reasonable value for the information radius based on the available evidence

Parameters:
evidences -
Returns:
The information radius

estimateMastery

public IBeliefContainer estimateMastery(Collection<Evidence> 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

estimateMastery

public IBeliefContainer estimateMastery(Collection<Evidence> directEvidences,
                                        Collection<Evidence> 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

estimateConceptMastery

public IBeliefContainer estimateConceptMastery(Collection<IBeliefContainer> 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

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

getUncertaintyMass

public static double getUncertaintyMass()
Returns:
the uncertaintyMass

setUncertaintyMass

public static void setUncertaintyMass(double uncertaintyMass)
Parameters:
uncertaintyMass - the uncertaintyMass to set

getIRrange

public static double getIRrange()
Returns:
the iRrange

setIRrange

public static void setIRrange(double rrange)
Parameters:
rrange - the iRrange to set

setDirectEvidenceWeight

public static void setDirectEvidenceWeight(double directEvidenceWeight)
Parameters:
directEvidenceWeight - The new weight in [0,1], to weigh the direct evidence count for calculating the plausability

getDirectEvidenceWeight

public static double getDirectEvidenceWeight()
Returns:
The direct evidence weight
See Also:
{@link org.activemath.studentmodel2.assessment.tbmirt.IRTTransferableBeliefModel.setDirectEvidenceWeight()}