Class

axle.ml

GeneticAlgorithm

Related Doc: package ml

Permalink

case class GeneticAlgorithm[G <: HList, Z <: HList](populationSize: Int = 1000, numGenerations: Int = 100)(implicit species: Species[G], zipper: Aux[::[G, ::[G, HNil]], Z], mapperMix: Mapper[Mixer.type, Z], mapperMutate: Mapper[Mutator.type, Z]) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeneticAlgorithm
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GeneticAlgorithm(populationSize: Int = 1000, numGenerations: Int = 100)(implicit species: Species[G], zipper: Aux[::[G, ::[G, HNil]], Z], mapperMix: Mapper[Mixer.type, Z], mapperMutate: Mapper[Mutator.type, Z])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def crossover[Z <: HList](h1: G, h2: G)(implicit zipper: Aux[::[G, ::[G, HNil]], Z], mapper: Mapper[Mixer.type, Z]): Out

    Permalink

    There are many variations of produceChild.

    There are many variations of produceChild. The important components are:

    1. Fitness-based selection 2. Crossover / gene-swapping 3. Mutation

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def initialPopulation(): IndexedSeq[(G, Double)]

    Permalink
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. def live(population: IndexedSeq[(G, Double)], fitnessLog: List[(Double, Double, Double)]): (IndexedSeq[(G, Double)], List[(Double, Double, Double)])

    Permalink
  13. def minMaxAve(population: IndexedSeq[(G, Double)]): (Double, Double, Double)

    Permalink
  14. def mutate[Z <: HList](x: G, r: G)(implicit zipper: Aux[::[G, ::[G, HNil]], Z], mapper: Mapper[Mutator.type, Z]): Out

    Permalink
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. val numGenerations: Int

    Permalink
  19. val populationSize: Int

    Permalink
  20. def run(): GeneticAlgorithmLog[G]

    Permalink
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped