trait
Sphere extends GAProblem
Type Members
-
abstract
type
A
-
-
abstract
type
F
-
-
abstract
type
G
-
type
P = Seq[Double]
-
abstract
type
STATE
Abstract Value Members
-
abstract
def
archive(a: A, oldIndividuals: Population[G, P, F], offspring: Population[G, P, F])(implicit rng: Random): A
-
abstract
def
breed(population: Population[G, P, F], a: A, size: Int)(implicit rng: Random): Seq[G]
-
abstract
def
clamp(values: Lens[G, Seq[Double]]): Lens[G, Seq[Double]]
-
abstract
def
computeElitism(oldGeneration: Population[G, P, F], offspring: Population[G, P, F], archive: A)(implicit rng: Random): Population[G, P, F]
-
abstract
def
evaluate(phenotype: P, rng: Random): F
-
abstract
def
fitness(f: F): Seq[Double]
-
abstract
def
genomeSize: Int
-
abstract
def
initialArchive(implicit rng: Random): A
-
abstract
def
initialState: STATE
-
abstract
def
lambda: Int
-
abstract
def
n: Int
-
abstract
def
randomGenome(implicit rng: Random): G
-
abstract
def
rawValues: Lens[G, Seq[Double]]
-
abstract
def
terminated(population: Population[G, P, F], terminationState: STATE)(implicit rng: Random): (Boolean, STATE)
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Sphere, B)
-
final
def
==(arg0: Any): Boolean
-
def
apply(x: Seq[Double], rng: Random): Seq[Double]
-
final
def
asInstanceOf[T0]: T0
-
def
buildRNG(seed: Long): Random
-
def
clone(): AnyRef
-
def
elitism(oldGeneration: Population[G, P, F], offspring: Population[G, P, F], archive: A)(implicit rng: Random): Population[G, P, F]
-
def
ensuring(cond: (Sphere) ⇒ Boolean, msg: ⇒ Any): Sphere
-
def
ensuring(cond: (Sphere) ⇒ Boolean): Sphere
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Sphere
-
def
ensuring(cond: Boolean): Sphere
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
evolve(implicit rng: Random): Iterator[EvolutionState]
-
def
evolve(expression: (G, Random) ⇒ P, evaluation: (P, Random) ⇒ F)(implicit prng: Random): Iterator[EvolutionState]
-
def
evolve(population: Population[G, P, F], archive: A, expression: (G, Random) ⇒ P, evaluation: (P, Random) ⇒ F)(implicit rng: Random): Iterator[EvolutionState]
-
def
express(g: Seq[Double], rng: Random): List[Double]
-
def
express(g: G, rng: Random): P
-
-
def
filters: Seq[FILTER]
-
def
finalize(): Unit
-
def
fitness(individual: Individual[G, P, F]): Seq[Double]
-
def
formatted(fmtstr: String): String
-
def
genomesEqualOn(g: G): Any
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
max: List[Double]
-
def
min: List[Double]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
scale(x: Seq[Double]): Seq[Double]
-
def
step(population: Population[G, P, F], archive: A, expression: (G, Random) ⇒ P, evaluation: (P, Random) ⇒ F)(implicit rng: Random): (Population[G, P, F], A)
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
values: Lens[G, Seq[Double]]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (Sphere, B)
Inherited from AnyRef
Inherited from Any
Inherited by implicit conversion any2stringadd from
Sphere to any2stringadd[Sphere]
Inherited by implicit conversion StringFormat from
Sphere to StringFormat[Sphere]
Inherited by implicit conversion Ensuring from
Sphere to Ensuring[Sphere]
Inherited by implicit conversion ArrowAssoc from
Sphere to ArrowAssoc[Sphere]