jitas.util
Class SolutionEvaluator
java.lang.Object
jitas.util.SolutionEvaluator
public class SolutionEvaluator
- extends java.lang.Object
Class for evaluating students solutions
- Version:
- 08 October 2007
- Author:
- DeathMarch(c314g2)
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolutionEvaluator
public SolutionEvaluator()
evaluateSolution
public static Feedback evaluateSolution(Solution studentSolution,
Student student,
Domain domain,
java.lang.String subdomainName,
boolean external)
throws StudentModelNotFoundException,
jess.JessException,
InvalidSolutionException,
UserNotFoundException
- Evaluate a students solution. For more details see the comment on
TutorInterface.submitSolution
- Parameters:
studentSolution - The solution objectstudent - The Studentdomain - The DomainsubdomainName - The name of the subdomainexternal - Whether it's a student submitting or problem selection using the evaluator
- Returns:
- The Feedback object
- Throws:
StudentModelNotFoundException - If theres no student model for the Student in the domain
jess.JessException - If theres a problem with JESS
InvalidSolutionException - If the solution is invalid
UserNotFoundException - If the student is not found
loadSpecificJESSParser
public static java.lang.Class<JESSParser> loadSpecificJESSParser(java.lang.String domainName)
- Loads a domain-specific system-chosen algorithm
- Returns:
- cl Class loaded from the specified directory