public class DefaultSolverMetrics
extends org.licas.service.sci.SolverMetrics
DefaultSolverFactory from where it is accessed and used.| Modifier and Type | Field and Description |
|---|---|
protected static java.util.ArrayList |
solverModules
List of modules automatically loaded in during startup.
|
| Constructor and Description |
|---|
DefaultSolverMetrics(java.util.ArrayList theSolverModules)
Create a new instance of DefaultSolverMetrics.
|
| Modifier and Type | Method and Description |
|---|---|
org.ai_heuristic.functs.Function |
getEvaluationFunction(java.lang.String valueType,
java.lang.String functionType)
Create and return the correct function/metric for the input parameters.
|
org.ai_heuristic.functs.Function |
getEvaluationFunction(java.lang.String valueType,
java.lang.String functionType,
org.licas.data.EvaluateData evaluator,
java.util.HashMap configParams)
Create and return the correct function/metric for the input parameters.
|
protected static java.util.ArrayList solverModules
ModuleSolverFactory.public DefaultSolverMetrics(java.util.ArrayList theSolverModules)
theSolverModules - list of solver modules.public org.ai_heuristic.functs.Function getEvaluationFunction(java.lang.String valueType,
java.lang.String functionType)
throws java.lang.Exception
getEvaluationFunction in class org.licas.service.sci.SolverMetricsvalueType - the type of object being evaluated.functionType - the type of function to create.java.lang.Exception - any error.public org.ai_heuristic.functs.Function getEvaluationFunction(java.lang.String valueType,
java.lang.String functionType,
org.licas.data.EvaluateData evaluator,
java.util.HashMap configParams)
throws java.lang.Exception
Function.createFunction in the first instance and tries to configure it.getEvaluationFunction in class org.licas.service.sci.SolverMetricsvalueType - the type of object being evaluated.functionType - the type of function to create.evaluator - the evaluator. Can be null for a default evaluator.configParams - a list of any input configuration parameters. Can be null for no parameters.java.lang.Exception - any error.