mauda.feedback
Class NormalEvaluator

java.lang.Object
  extended by mauda.feedback.Evaluator
      extended by mauda.feedback.NormalEvaluator

public class NormalEvaluator
extends Evaluator

The automatic evaluator of NormalMode-exercises

Author:
Markus Krebs

Constructor Summary
NormalEvaluator()
          Creates a NormalEvaluator
 
Method Summary
 void evaluate(OperationRecorder or)
          Evaluates a total processed exercise
 java.lang.String getHTMLMessage()
          Gets a string-html-representation of the errors made, with diverse statistics.
 void load(java.util.HashMap hm)
          Loads this evaluator from a HashMap-representation, that was readed from a xml-file.
 void log(FeedbackObject fo)
          Logs an FeedbackObject the evaluator needs to evaluate a processed exercise.
 java.util.HashMap save()
          Converts the results of the evaluator in a HashMap-representation for saving-purposes.
 
Methods inherited from class mauda.feedback.Evaluator
getScoreString, log, postProcessing
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NormalEvaluator

public NormalEvaluator()
Creates a NormalEvaluator

Method Detail

log

public void log(FeedbackObject fo)
Description copied from class: Evaluator
Logs an FeedbackObject the evaluator needs to evaluate a processed exercise. Mostly this is a FeedbackObject, which contains an error that was made.

Overrides:
log in class Evaluator
Parameters:
fo - FeedbackObject

evaluate

public void evaluate(OperationRecorder or)
Description copied from class: Evaluator
Evaluates a total processed exercise

Overrides:
evaluate in class Evaluator
Parameters:
or - OperationRecorder

getHTMLMessage

public java.lang.String getHTMLMessage()
Description copied from class: Evaluator
Gets a string-html-representation of the errors made, with diverse statistics.

Overrides:
getHTMLMessage in class Evaluator
Returns:
string-html-represenation of the errors made

save

public java.util.HashMap save()
Description copied from class: Evaluator
Converts the results of the evaluator in a HashMap-representation for saving-purposes.

Overrides:
save in class Evaluator
Returns:
HashMap-representation of the results

load

public void load(java.util.HashMap hm)
Description copied from class: Evaluator
Loads this evaluator from a HashMap-representation, that was readed from a xml-file.

Overrides:
load in class Evaluator
Parameters:
hm - HashMap-representation of the results