public class DefaultHeuristicData extends HeuristicData
DefaultHeuristicFactory
from where it is accessed and used.heuristicClassif, heuristicModules
Constructor and Description |
---|
DefaultHeuristicData(HeuristicClassification theHeuristicClassif,
java.util.ArrayList theHeuristicModules)
Create a new instance of DefaultHeuristicData.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canBeGeneticType(java.lang.String dataType)
Return true if the data type can be used with the genetic algorithms specifically.
|
boolean |
genericDataType(java.lang.String dataType)
Return true if the heuristic type is a known type that can be processed generically.
|
java.util.HashMap |
getDataGenerators()
Get a list of available data generators.
|
java.lang.String |
getObjectType(java.lang.String heuristicType)
Get the type of data object that would be evaluated by the heuristic.
|
public DefaultHeuristicData(HeuristicClassification theHeuristicClassif, java.util.ArrayList theHeuristicModules)
theHeuristicClassif
- the heuristic classifications.theHeuristicModules
- list of heuristic modules.public boolean genericDataType(java.lang.String dataType)
genericDataType
in class HeuristicData
dataType
- the data object type.public boolean canBeGeneticType(java.lang.String dataType)
canBeGeneticType
in class HeuristicData
dataType
- the type of data object that the genetic algorithm might process.public java.util.HashMap getDataGenerators()
getDataGenerators
in class HeuristicData
public java.lang.String getObjectType(java.lang.String heuristicType)
getObjectType
in class HeuristicData
heuristicType
- the type of heuristic to use.