Package | Description |
---|---|
org.licas.ai_solver.def |
Problem-solving interface, to help to define the class hierarchy.
|
org.licas.ai_solver.model.genetic |
Classes for the genetic algorithm solutions.
|
Modifier and Type | Method and Description |
---|---|
Chromosome |
SolutionGeneticDef.getChromosome()
Get the chromosome that this solution uses.
|
Modifier and Type | Method and Description |
---|---|
void |
SolutionGeneticDef.setChromosome(Chromosome thisChromosome)
Set the chromosome or this solution.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultChromosome
This represents a default chromosome implementation.
|
Modifier and Type | Field and Description |
---|---|
protected Chromosome |
GeneticSolution.chromosome
The chromosome this solution uses
|
Modifier and Type | Method and Description |
---|---|
protected Chromosome |
Chromosome.cloneChromosomeLight(java.lang.String newName,
org.ai_heuristic.eval.metric.MetricDataset newGeneList)
Clone this chromosome to create light copy with other values.
|
abstract Chromosome |
Chromosome.evolve(Chromosome thisChromosome)
Generate a new chromosome by combining this chromosome and the variable passed in.
|
Chromosome |
DefaultChromosome.evolve(Chromosome thisChromosome)
Generate a new chromosome by combining this chromosome and the variable passed in.
|
Chromosome |
GeneticSolution.getChromosome()
Get the chromosome that this solution uses.
|
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.
|
Modifier and Type | Method and Description |
---|---|
abstract Chromosome |
Chromosome.evolve(Chromosome thisChromosome)
Generate a new chromosome by combining this chromosome and the variable passed in.
|
Chromosome |
DefaultChromosome.evolve(Chromosome thisChromosome)
Generate a new chromosome by combining this chromosome and the variable passed in.
|
boolean |
Chromosome.sameAs(Chromosome compareTo)
Return true if the genes in this chromosome are the same as the genes
in the chromosome passed in.
|
void |
GeneticSolution.setChromosome(Chromosome thisChromosome)
Set the chromosome or this solution.
|