jitas.util
Class SolutionEvaluator

java.lang.Object
  extended by jitas.util.SolutionEvaluator

public class SolutionEvaluator
extends java.lang.Object

Class for evaluating students solutions

Version:
08 October 2007
Author:
DeathMarch(c314g2)

Constructor Summary
SolutionEvaluator()
           
 
Method Summary
static Feedback evaluateSolution(Solution studentSolution, Student student, Domain domain, java.lang.String subdomainName, boolean external)
          Evaluate a students solution.
static java.lang.Class<JESSParser> loadSpecificJESSParser(java.lang.String domainName)
          Loads a domain-specific system-chosen algorithm
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolutionEvaluator

public SolutionEvaluator()
Method Detail

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 object
student - The Student
domain - The Domain
subdomainName - The name of the subdomain
external - 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