Package standalone
Class Marker
- java.lang.Object
-
- standalone.Marker
-
public class Marker extends Object
Wrapper of Features to take input in the Isaac JSON format and return it in an acceptable format.
-
-
Constructor Summary
Constructors Constructor Description Marker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringgenerate(GraphAnswer graphAnswer)Convert an answer into a feature specification.IsaacAnswerResponsemark(GraphSolutions question, GraphAnswer graphAnswer)Mark an answer against a list of solutions.
-
-
-
Method Detail
-
mark
public IsaacAnswerResponse mark(GraphSolutions question, GraphAnswer graphAnswer)
Mark an answer against a list of solutions.- Parameters:
question- The list of solutions.graphAnswer- The answer.- Returns:
- The response from the list of solutions for the first solution that matched.
-
generate
public String generate(GraphAnswer graphAnswer)
Convert an answer into a feature specification.- Parameters:
graphAnswer- The solution to be analysed.- Returns:
- A specification of all the features in the answer.
-
-