org.activemath.studentmodel2
Class EvidencePropagator

java.lang.Object
  extended by org.activemath.studentmodel2.EvidencePropagator

public class EvidencePropagator
extends Object

This class implements the propagation algorithm that transfers evidences to related concepts along prerequisite relations of knowledge elements within the content of ActiveMath


Field Summary
protected static Logger log
          logging facility
 
Method Summary
static EvidencePropagator getInstance()
          Get an instance of the EvidencePropagator
 void propagateResult(ExerciseResult r, Collection<String> conceptIds)
          Propagate an ExerciseResult up/down the concept tree depending on the achievement (Achievement that indicates no competency goes negatively up the tree, results in a positive update go down the tree)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Logger log
logging facility

Method Detail

getInstance

public static EvidencePropagator getInstance()
Get an instance of the EvidencePropagator

Returns:
The EvidencePropagator

propagateResult

public void propagateResult(ExerciseResult r,
                            Collection<String> conceptIds)
Propagate an ExerciseResult up/down the concept tree depending on the achievement (Achievement that indicates no competency goes negatively up the tree, results in a positive update go down the tree)

Parameters:
r - - the exercise result
conceptIds - - a set of concepts the result is for