|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmauda.feedback.Evaluator
public class Evaluator
Evaluator-base-class for automatic evaluation of exercises
| Constructor Summary | |
|---|---|
Evaluator()
Creates an Evaluator |
|
| 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. |
java.lang.String |
getScoreString()
Gets the reached score in points of hundred (x of 100) |
void |
load(java.util.HashMap v)
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. |
void |
log(int id)
Logs specific states that are reached by the student in FaultMode. |
void |
postProcessing(java.util.Vector v)
An exercise-mode like FaultMode needs to configurate some values after loading of the exercise, and this is done in this method. |
java.util.HashMap |
save()
Converts the results of the evaluator in a HashMap-representation for saving-purposes. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Evaluator()
| Method Detail |
|---|
public java.lang.String getScoreString()
public void postProcessing(java.util.Vector v)
v - Vector of the exercise-todo-operationsFaultEvaluator.postProcessing(Vector)public void evaluate(OperationRecorder or)
or - OperationRecorderpublic void log(FeedbackObject fo)
fo - FeedbackObjectpublic void log(int id)
id - FaultEvaluator-IDFaultEvaluator.SEARCH_FAILURE,
FaultEvaluator.FIRST_FAILURE_FOUND,
FaultEvaluator.FALSE_CORRECT,
FaultEvaluator.FALSE_NOT_FIRST,
FaultEvaluator.FALSE_FAILURE_TYPE_SELECTED,
FaultEvaluator.CORRECT_MODEpublic java.lang.String getHTMLMessage()
public java.util.HashMap save()
public void load(java.util.HashMap v)
v - HashMap-representation of the results
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||