package helisa
Collection of necessary types and values needed to construct an evolutionary algorithm run with an com.softwaremill.helisa.Evolver.
Import this package first with:
import com.softwaremill.helisa._
then create a new Evolver
with com.softwaremill.helisa.Evolver.apply.
- See also
Evolver
- Alphabetic
- By Inheritance
- helisa
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
Evolver[A, G <: Gene[_, G], Fitness <: Comparable[Fitness]] extends AnyRef
Representation of an evolutionary run, provides different methods for iteration/streaming
Representation of an evolutionary run, provides different methods for iteration/streaming
- See also
Evolver.apply
-
class
EvolverBuilder[A, G <: Gene[_, G], Fitness <: Comparable[Fitness]] extends AnyRef
Allows to configure the Evolver for the evolutionary run
Allows to configure the Evolver for the evolutionary run
- See also
EvolverBuilder.build
-
type
Gene[A, G <: Gene[A, G]] = io.jenetics.Gene[A, G]
A single gene from a specific Genotype, usually mapping a singular parameter in the problem space
-
type
GeneticOperator[G <: Gene[_, G], FitnessResult <: Comparable[FitnessResult]] = (Seq[Phenotype[G, FitnessResult]], Long) ⇒ OperatorResult[G, FitnessResult]
A function modifying the population of the next generation based on the current one, e.g.
A function modifying the population of the next generation based on the current one, e.g. recombination or mutation
-
type
Genotype[G <: Gene[_, G]] = io.jenetics.Genotype[G]
A collection of Chromosomes for a given problem, representing all the parameters of the problem space in a form that the evolutionary algorythm can process
-
implicit final
class
GenotypeDecoder[G <: Gene[_, G]] extends AnyVal
Provides conversion from a Genotype to a compatible case class.
- type NumericGene[A <: Number with Comparable[Any], G <: NumericGene[A, G]] = io.jenetics.NumericGene[A, G]
-
case class
OperatorResult[G <: Gene[_, G], FitnessResult <: Comparable[FitnessResult]](population: Seq[Phenotype[G, FitnessResult]], alterations: Int) extends Product with Serializable
- population
the resulting population
- alterations
the amount of performed alterations
-
type
Phenotype[G <: Gene[_, G], FitnessResult <: Comparable[FitnessResult]] = io.jenetics.Phenotype[G, FitnessResult]
A collection of values representing a solution in the given problem space
-
implicit final
class
PhenotypeDecoder[G <: Gene[_, G]] extends AnyVal
Provides conversion from a Genotype to a compatible case class that represents it.
-
type
Selector[G <: Gene[_, G], FitnessResult <: Comparable[FitnessResult]] = (Seq[Phenotype[G, FitnessResult]], Int, Optimize) ⇒ Seq[Phenotype[G, FitnessResult]]
A function that influences what genotypes will pass to the next generation in an evolutionary run
- type TreeGene[A, G <: TreeGene[A, G]] = io.jenetics.ext.TreeGene[A, G]
Value Members
-
val
chromosomes: Chromosome.type
Chromosome builders
Chromosome builders
- See also
Chromosome
-
val
genotypes: Genotype.type
Genotype builders
Genotype builders
- See also
Genotype
-
val
operators: GeneticOperator.type
All standard genetic operators
All standard genetic operators
- See also
GeneticOperator
-
val
selectors: standard.type
All standard selectors
All standard selectors
- See also
Selector
- object Evolver
- object Genotype
- object Optimize