public abstract class SolverSpecs
extends java.lang.Object
SolverFactory from where it is accessed and used.| Modifier and Type | Field and Description |
|---|---|
protected org.licas.PasswordHandler |
passwordHandler
The password handler
|
protected static java.util.ArrayList<ModuleSolverFactory> |
solverModules
List of modules automatically loaded in during startup.
|
| Constructor and Description |
|---|
SolverSpecs(org.licas.PasswordHandler thePasswordHandler,
java.util.ArrayList<ModuleSolverFactory> theSolverModules)
Create a new instance of SolverSpecs.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ProblemScript |
getProblemScript(java.lang.String solverType)
Get the problem script object related to the current problem type.
|
abstract ProblemScriptParser |
getProblemScriptParser(java.lang.String solverType)
Get the parser to create the problem script from an XML description.
|
abstract java.util.HashMap<java.lang.String,java.lang.String> |
getTestScriptVariableDescriptions()
Get a list of test config script variable descriptions, for display purposes.
|
abstract java.util.ArrayList<java.lang.String> |
getTestScriptVariables(java.lang.String scriptType)
Get a list of test config script variables, for display purposes.
|
abstract java.util.HashMap<java.lang.String,java.lang.String> |
getTestScriptVariableTypes()
Get a list of test config script heuristic types.
|
abstract java.util.ArrayList<java.lang.String> |
getTestScriptVarValues(java.lang.String variableType)
Get a list of allowed values for a test run script variable.
|
abstract TestSpec |
getTestSpec(java.lang.String solverType)
Get the test specification object related to the current problem type.
|
protected org.licas.PasswordHandler passwordHandler
protected static java.util.ArrayList<ModuleSolverFactory> solverModules
ModuleSolverFactory.public SolverSpecs(org.licas.PasswordHandler thePasswordHandler,
java.util.ArrayList<ModuleSolverFactory> theSolverModules)
thePasswordHandler - the password handler.theSolverModules - list of solver modules.public abstract TestSpec getTestSpec(java.lang.String solverType)
solverType - the type of test framework to solve the problem.
HYPERCOMPARE or LINKDISTRIBUTED, etc.public abstract ProblemScript getProblemScript(java.lang.String solverType)
solverType - the type of test framework to solve the problem.public abstract ProblemScriptParser getProblemScriptParser(java.lang.String solverType)
solverType - the type of test framework to solve the problem.public abstract java.util.ArrayList<java.lang.String> getTestScriptVariables(java.lang.String scriptType)
scriptType - the type of script part. The default package is covered, for example
TESTRUNSSCRIPT, HILLCLIMB, HYPERCOMPARE, LINKDISTRIBUTED, but you can add
others to derived classes.public abstract java.util.HashMap<java.lang.String,java.lang.String> getTestScriptVariableTypes()
public abstract java.util.HashMap<java.lang.String,java.lang.String> getTestScriptVariableDescriptions()
public abstract java.util.ArrayList<java.lang.String> getTestScriptVarValues(java.lang.String variableType)
variableType - the variable type.