Class CompileEvaluator
java.lang.Object
de.hsh.graja.core.modules.compile.CompileEvaluator
- All Implemented Interfaces:
ModuleEvaluator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateGradingAspectResult
(ModuleRunnerResult mrr, GradingAspect aspect, ModuleConfiguration moduleCfg, ResultSpec resultSpec, int level) Create a resultGradingAspectResult
object for aGradingAspect
object.double
getSuccessRate
(ModuleRunnerResult mrr, GradingAspect aspect, ModuleConfiguration moduleCfg)
-
Constructor Details
-
CompileEvaluator
public CompileEvaluator()
-
-
Method Details
-
createGradingAspectResult
public GradingAspectResult createGradingAspectResult(ModuleRunnerResult mrr, GradingAspect aspect, ModuleConfiguration moduleCfg, ResultSpec resultSpec, int level) Description copied from interface:ModuleEvaluator
Create a resultGradingAspectResult
object for aGradingAspect
object.- Specified by:
createGradingAspectResult
in interfaceModuleEvaluator
- Parameters:
mrr
- the result of the module runner as input parameteraspect
- for this aspect this method creates a result. This is an input parameter.moduleCfg
- the module configuration as input parameterresultSpec
- the specificiation of result parameterslevel
- a number 1 or greater meaning the distance from the aspect to the root of the grading scheme tree.- Returns:
- the result object created by this method
-
getSuccessRate
public double getSuccessRate(ModuleRunnerResult mrr, GradingAspect aspect, ModuleConfiguration moduleCfg) - Specified by:
getSuccessRate
in interfaceModuleEvaluator
-