org.activemath.webapp.evaluators
Class Evaluator

java.lang.Object
  extended by org.activemath.webapp.evaluators.Evaluator
Direct Known Subclasses:
ReadEvaluator, StandardExerciseEvaluator, StandardNavigationEvaluator

public abstract class Evaluator
extends Object

Base class for all evaluators. Created: Wed Jan 9 11:54:15 2002


Field Summary
protected  EvaluationFunction evaluationFunction
          The EvaluatorPolicy for this evaluator, it represents the behaviour of the part of evaluation related to the updating of the students mastery assessment.
protected  User user
          The User object to reference
 
Constructor Summary
Evaluator()
           
 
Method Summary
 void elementHasBeenSeen(String id, String session, long start, long end)
           
 void endExercise(String pid, long time, double success, String session)
           
 void endPageBrowsed(List ids, long time, String session, String page)
           
protected  void initFunction()
           
 void startExercise(String pid, long time, String proxy, String session)
           
 void startPageBrowsed(List ids, long time, String session, String page)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

user

protected User user
The User object to reference


evaluationFunction

protected EvaluationFunction evaluationFunction
The EvaluatorPolicy for this evaluator, it represents the behaviour of the part of evaluation related to the updating of the students mastery assessment.

Constructor Detail

Evaluator

public Evaluator()
Method Detail

startPageBrowsed

public void startPageBrowsed(List ids,
                             long time,
                             String session,
                             String page)

endPageBrowsed

public void endPageBrowsed(List ids,
                           long time,
                           String session,
                           String page)

elementHasBeenSeen

public void elementHasBeenSeen(String id,
                               String session,
                               long start,
                               long end)

startExercise

public void startExercise(String pid,
                          long time,
                          String proxy,
                          String session)

endExercise

public void endExercise(String pid,
                        long time,
                        double success,
                        String session)

initFunction

protected void initFunction()