Packages

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

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. helisa
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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

  6. implicit final class GenotypeDecoder[G <: Gene[_, G]] extends AnyVal

    Provides conversion from a Genotype to a compatible case class.

  7. type NumericGene[A <: Number with Comparable[Any], G <: NumericGene[A, G]] = io.jenetics.NumericGene[A, G]
  8. 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

  9. 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

  10. implicit final class PhenotypeDecoder[G <: Gene[_, G]] extends AnyVal

    Provides conversion from a Genotype to a compatible case class that represents it.

  11. 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

  12. type TreeGene[A, G <: TreeGene[A, G]] = io.jenetics.ext.TreeGene[A, G]

Value Members

  1. val chromosomes: Chromosome.type

    Chromosome builders

    Chromosome builders

    See also

    Chromosome

  2. val genotypes: Genotype.type

    Genotype builders

    Genotype builders

    See also

    Genotype

  3. val operators: GeneticOperator.type

    All standard genetic operators

    All standard genetic operators

    See also

    GeneticOperator

  4. val selectors: standard.type

    All standard selectors

    All standard selectors

    See also

    Selector

  5. object Evolver
  6. object Genotype
  7. object Optimize

Inherited from AnyRef

Inherited from Any

Ungrouped