public class DefaultHeuristicClassification extends HeuristicClassification
Modifier and Type | Field and Description |
---|---|
protected static java.util.ArrayList<ModuleHeuristicFactory> |
heuristicModules
List of modules automatically loaded in during startup.
|
Constructor and Description |
---|
DefaultHeuristicClassification(java.util.ArrayList<ModuleHeuristicFactory> theHeuristicModules)
Create a new instance of DefaultHeuristicClassification.
|
Modifier and Type | Method and Description |
---|---|
org.ai_heuristic.model.FactoryInfo |
getFactoryInfo(java.lang.String heuristicType)
Get a factory info object for the specified heuristic or evaluator type.
|
boolean |
isCentralised(java.lang.String solverType)
Return true if the framework type is a recognised centralised type.
|
boolean |
isHeuristic(java.lang.String heuristicType)
Return true if the heuristic type is a known type.
|
protected static java.util.ArrayList<ModuleHeuristicFactory> heuristicModules
ModuleHeuristicFactory
.public DefaultHeuristicClassification(java.util.ArrayList<ModuleHeuristicFactory> theHeuristicModules)
theHeuristicModules
- list of heuristic modules.public boolean isHeuristic(java.lang.String heuristicType)
isHeuristic
in class HeuristicClassification
heuristicType
- the heuristic type.public boolean isCentralised(java.lang.String solverType)
isCentralised
in class HeuristicClassification
solverType
- the solver framework the test is run on.public org.ai_heuristic.model.FactoryInfo getFactoryInfo(java.lang.String heuristicType)
getFactoryInfo
in class HeuristicClassification
heuristicType
- the AI type to check for.