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