final case class AlgoSettings[A](maxPopulationSize: Int, maxGenerations: Int, success: (A) => Boolean, mutate: (Seed, A, Generation, Offset) => (Seed, Option[A]), combine: (Seed, A, A) => (Seed, A))(implicit evidence$1: Ordering[A], evidence$2: Show[A]) extends Product with Serializable
- maxPopulationSize
the max population size to keep
- maxGenerations
the maximum number of generations to run
- success
a predicate to determine if 'A' satisfies the success criteria
- mutate
a function which can optionally mutate a record
- combine
a function which can combine two records given a random seed
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AlgoSettings
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new AlgoSettings(maxPopulationSize: Int, maxGenerations: Int, success: (A) => Boolean, mutate: (Seed, A, Generation, Offset) => (Seed, Option[A]), combine: (Seed, A, A) => (Seed, A))(implicit arg0: Ordering[A], arg1: Show[A])
- maxPopulationSize
the max population size to keep
- maxGenerations
the maximum number of generations to run
- success
a predicate to determine if 'A' satisfies the success criteria
- mutate
a function which can optionally mutate a record
- combine
a function which can combine two records given a random seed
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException])
- val combine: (Seed, A, A) => (Seed, A)
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxGenerations: Int
- val maxPopulationSize: Int
- val mutate: (Seed, A, Generation, Offset) => (Seed, Option[A])
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def ordering: Ordering[A]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def show: Show[A]
- val success: (A) => Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object implicits