|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmauda.feedback.Evaluator
mauda.feedback.FaultEvaluator
public class FaultEvaluator
The automatic evaluator of FaultMode-exercises
| Field Summary | |
|---|---|
static int |
CORRECT_MODE
ID that defines that the student has found the first failure, and selected the correct failure-type, and is currently specifying what the correct suboperation is. |
static int |
FALSE_CORRECT
ID that defines that the student thought that a correct operation was incorrect. |
static int |
FALSE_FAILURE_TYPE_SELECTED
ID that defines that the student selected the false type of the failure. |
static int |
FALSE_NOT_FIRST
ID that defines that the student found a failure, but it was not the first failure. |
static int |
FIRST_FAILURE_FOUND
ID that defines that the student found the first failure |
static int |
GIVE_UP
ID that defines that the student given up the exercise, |
static int |
SEARCH_FAILURE
ID that defines that the student is in search-the-failure-mode |
| Constructor Summary | |
|---|---|
FaultEvaluator()
Creates a FaultEvaluator |
|
| 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. |
int |
getState()
Gets the current state the student reached |
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. |
void |
log(int id)
Logs specific states that are reached by the student in FaultMode. |
void |
postProcessing(java.util.Vector v)
Calculates the maximal reachable points. |
java.util.HashMap |
save()
Converts the results of the evaluator in a HashMap-representation for saving-purposes. |
void |
setState(int id)
|
| Methods inherited from class mauda.feedback.Evaluator |
|---|
getScoreString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SEARCH_FAILURE
public static final int FIRST_FAILURE_FOUND
public static final int FALSE_CORRECT
public static final int FALSE_NOT_FIRST
public static final int FALSE_FAILURE_TYPE_SELECTED
public static final int CORRECT_MODE
public static final int GIVE_UP
| Constructor Detail |
|---|
public FaultEvaluator()
| Method Detail |
|---|
public void postProcessing(java.util.Vector v)
postProcessing in class Evaluatorv - Vector of the exercise-todo-operationsEvaluator.postProcessing(java.util.Vector)public void evaluate(OperationRecorder or)
Evaluator
evaluate in class Evaluatoror - OperationRecorderpublic void log(FeedbackObject fo)
Evaluator
log in class Evaluatorfo - FeedbackObjectpublic void log(int id)
Evaluator
log in class Evaluatorid - FaultEvaluator-IDSEARCH_FAILURE,
FIRST_FAILURE_FOUND,
FALSE_CORRECT,
FALSE_NOT_FIRST,
FALSE_FAILURE_TYPE_SELECTED,
CORRECT_MODEpublic java.lang.String getHTMLMessage()
Evaluator
getHTMLMessage in class Evaluatorpublic int getState()
SEARCH_FAILURE,
FIRST_FAILURE_FOUND,
FALSE_CORRECT,
FALSE_NOT_FIRST,
FALSE_FAILURE_TYPE_SELECTED,
CORRECT_MODEpublic void setState(int id)
public java.util.HashMap save()
Evaluator
save in class Evaluatorpublic void load(java.util.HashMap hm)
Evaluator
load in class Evaluatorhm - HashMap-representation of the results
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||