Package standalone

Class 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 Detail

      • Marker

        public Marker()
    • 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.