Package | Description |
---|---|
org.licas.ai_solver.model.genetic |
Classes for the genetic algorithm solutions.
|
org.licas.ai_solver.model.genetic.genes |
Genetic algorithm chromosome genes.
|
Modifier and Type | Field and Description |
---|---|
protected EvolveGenes |
Chromosome.evolveGenes
This is used to combine gene lists to create a new one.
|
Modifier and Type | Method and Description |
---|---|
EvolveGenes |
Chromosome.getEvolveGenes()
Get the object used to create new gene lists.
|
Modifier and Type | Method and Description |
---|---|
static Chromosome |
Chromosome.getChromosome(java.lang.String chromosomeType,
java.lang.String chromosomeID,
org.ai_heuristic.eval.metric.MetricDataset genesList,
org.ai_heuristic.functs.Function evalFunction,
EvolveGenes evolveGenes)
Create and return the appropriate chromosome for the specified chromosome
type.
|
void |
Chromosome.setEvolveGenes(EvolveGenes thisEvolveGenes)
Set the object used to evolve gene lists to create a new one.
|
Constructor and Description |
---|
Chromosome(java.lang.String thisName,
org.ai_heuristic.eval.metric.MetricDataset thisGeneList,
org.ai_heuristic.functs.Function evalFunction,
EvolveGenes thisMutateGenes)
Create a new instance of Chromosome.
|
DefaultChromosome(java.lang.String thisName,
org.ai_heuristic.eval.metric.MetricDataset thisGeneList,
org.ai_heuristic.functs.Function evalFunction,
EvolveGenes thisEvolveGenes)
Create a new instance of DefaultChromosome.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultEvolveGenes
This is the default implementation for combining two different gene lists through
crossover or mutation to generate a new one.
|
class |
DefaultEvolveGenesPct
This is the default implementation for combining two different gene lists through
crossover or mutation to generate a new one.
|
class |
EvolveGenesBOW
This implementation can be used for mutating
BagOfWords bag-of-words
constructs through intersection and union operations. |
Modifier and Type | Method and Description |
---|---|
static EvolveGenes |
EvolveGenes.getEvolveGeneType(EvolveInfo evolveInfo)
Return an appropriate gene evolution object based on the gene type
(probably the dataset type) and set of evolution requirements.
|