public abstract class SolverData
extends java.lang.Object
SolverFactory
from where it is accessed and used.Modifier and Type | Field and Description |
---|---|
protected static java.util.ArrayList<ModuleSolverFactory> |
solverModules
List of modules automatically loaded in during startup.
|
Constructor and Description |
---|
SolverData(java.util.ArrayList<ModuleSolverFactory> theSolverModules)
Create a new instance of SolverData.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
dataClassFromType(java.lang.String datasetType)
Get the object class name from the type name, for the known data object types.
|
abstract java.lang.String |
dataTypeFromClass(java.lang.String datasetType)
Get the data type name, for the known data class name.
|
abstract java.util.ArrayList<java.lang.String> |
getDatasetTypes(java.lang.String heuristicType)
Get a list of available data types for a heuristic type.
|
abstract EvaluateSolverData |
getEvaluateData(org.licas.data.DataQueryModel dataInfo)
Create and return the correct data evaluator.
|
abstract ProcessResult |
getProcessResult(java.lang.String solverType)
Get the object used to process the solver result, maybe to create lists of links.
|
protected static java.util.ArrayList<ModuleSolverFactory> solverModules
ModuleSolverFactory
.public SolverData(java.util.ArrayList<ModuleSolverFactory> theSolverModules)
theSolverModules
- list of solver modules.public abstract EvaluateSolverData getEvaluateData(org.licas.data.DataQueryModel dataInfo) throws java.lang.Exception
dataInfo
- a full info description for the evaluator to be created.
Must include the dataset type at least.java.lang.Exception
- any error.public abstract ProcessResult getProcessResult(java.lang.String solverType)
solverType
- the type of test framework to solve the problem.public abstract java.util.ArrayList<java.lang.String> getDatasetTypes(java.lang.String heuristicType)
heuristicType
- the heuristic type, or a data type.public abstract java.lang.String dataClassFromType(java.lang.String datasetType)
datasetType
- the dataset type name.datasetType
.public abstract java.lang.String dataTypeFromClass(java.lang.String datasetType)
datasetType
- the dataset type class name.datasetType
.