fr.iscpif.mgo.test

Sphere

trait Sphere extends GAProblem

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Sphere
  2. GAProblem
  3. MG
  4. Scaling
  5. GAScaling
  6. GA
  7. GenomeClamping
  8. RandomGenome
  9. Problem
  10. Evolution
  11. Elitism
  12. IndividualFilter
  13. Breeding
  14. Archive
  15. A
  16. Lambda
  17. Termination
  18. F
  19. P
  20. G
  21. AnyRef
  22. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract type A

    Definition Classes
    ArchiveA
  2. case class EvolutionState(population: Population[Evolution.G, Evolution.P, Evolution.F], archive: Evolution.A, generation: Int, terminationState: Evolution.STATE, terminated: Boolean) extends Product with Serializable

    Represent a state of the evolution algorithm

    Represent a state of the evolution algorithm

    Definition Classes
    Evolution
  3. abstract type F

    Definition Classes
    F
  4. abstract type G

    Definition Classes
    G
  5. type P = Seq[Double]

    Definition Classes
    SphereP
  6. abstract type STATE

    Type of the state maintained to study the evolution of the algorithm

    Type of the state maintained to study the evolution of the algorithm

    Definition Classes
    Termination

Abstract Value Members

  1. abstract def archive(a: A, oldIndividuals: Population[G, P, F], offspring: Population[G, P, F])(implicit rng: Random): A

    Definition Classes
    Archive
  2. abstract def breed(population: Population[G, P, F], a: A, size: Int)(implicit rng: Random): Seq[G]

    Definition Classes
    Breeding
  3. abstract def clamp(values: SimpleLens[G, Seq[Double]]): SimpleLens[G, Seq[Double]]

    Definition Classes
    GenomeClamping
  4. abstract def computeElitism(oldGeneration: Population[G, P, F], offspring: Population[G, P, F], archive: A)(implicit rng: Random): Population[G, P, F]

    Definition Classes
    Elitism
  5. abstract def evaluate(phenotype: P, rng: Random): F

    Evaluate a phenotype

    Evaluate a phenotype

    phenotype

    the phenotype to evaluate

    returns

    the phenotype

    Definition Classes
    Problem
  6. abstract def fitness(f: F): Seq[Double]

    Definition Classes
    MG
  7. abstract def genomeSize: Int

    Size of the value part of the genome

    Size of the value part of the genome

    Definition Classes
    GAProblemGA
  8. abstract def initialArchive(implicit rng: Random): A

    Definition Classes
    Archive
  9. abstract def initialState: STATE

    Compute the initial state

    Compute the initial state

    returns

    the initial state

    Definition Classes
    Termination
  10. abstract def lambda: Int

    the size of the offspring

    the size of the offspring

    Definition Classes
    Lambda
  11. abstract def n: Int

  12. abstract def randomGenome(implicit rng: Random): G

    Definition Classes
    GARandomGenome
  13. abstract def rawValues: SimpleLens[G, Seq[Double]]

    Definition Classes
    GA
  14. abstract def terminated(population: Population[G, P, F], terminationState: STATE)(implicit rng: Random): (Boolean, STATE)

    Test if the algorithm has converged.

    Test if the algorithm has converged.

    population

    the current population

    terminationState

    the actual termination state

    returns

    a boolean which is equal to true if a terminal state has been detected and the new termination state

    Definition Classes
    Termination

Concrete Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def apply(x: Seq[Double], rng: Random): Seq[Double]

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def buildRNG(seed: Long): Random

    Definition Classes
    Evolution
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def elitism(oldGeneration: Population[G, P, F], offspring: Population[G, P, F], archive: A)(implicit rng: Random): Population[G, P, F]

    Definition Classes
    Elitism
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def evolve(implicit rng: Random): Iterator[EvolutionState]

    Definition Classes
    Problem
  12. def evolve(expression: (G, Random) ⇒ P, evaluation: (P, Random) ⇒ F)(implicit prng: Random): Iterator[EvolutionState]

    Run the evolutionary algorithm

    Run the evolutionary algorithm

    expression

    the genome expression

    evaluation

    the fitness evaluator

    returns

    an iterator over the states of the evolution

    Definition Classes
    Evolution
  13. def evolve(population: Population[G, P, F], a: A, expression: (G, Random) ⇒ P, evaluation: (P, Random) ⇒ F)(implicit rng: Random): Iterator[EvolutionState]

    Run the evolutionary algorithm

    Run the evolutionary algorithm

    population

    the initial individuals

    expression

    the genome expression

    evaluation

    the fitness evaluator

    returns

    an iterator over the states of the evolution

    Definition Classes
    Evolution
  14. def express(g: Seq[Double], rng: Random): List[Double]

    Definition Classes
    SphereGAProblem
  15. def express(g: G, rng: Random): P

    Definition Classes
    GAProblemProblem
  16. def filter(population: Population[G, P, F]): Population[G, P, F]

    Filter the individuals

    Filter the individuals

    population

    the set of evaluated individuals

    returns

    the filtrated individuals

    Definition Classes
    IndividualFilter
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def fitness(individual: Individual[G, P, F]): Seq[Double]

    Definition Classes
    MG
  19. def genomesEqualOn(g: G): Any

    Definition Classes
    GAG
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def max: List[Double]

    Maximum scaled value in the correct order

    Maximum scaled value in the correct order

    Definition Classes
    SphereScaling
  24. def min: List[Double]

    minimum scaled value in the correct order

    minimum scaled value in the correct order

    Definition Classes
    SphereScaling
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def scale(x: Seq[Double]): Seq[Double]

    Scale a vector according to the minimun and maximum

    Scale a vector according to the minimun and maximum

    x

    the vector to scale

    returns

    the scaled vector

    Definition Classes
    ScalingGAScaling
  29. 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)

    Evolve one step

    Evolve one step

    population

    the current population

    archive

    the current archive

    expression

    expression of the genome

    evaluation

    the fitness evaluator

    returns

    a new population of evaluated solutions

    Definition Classes
    Evolution
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def values: SimpleLens[G, Seq[Double]]

    The value part of the genome actually used for the optimisation

    The value part of the genome actually used for the optimisation

    Definition Classes
    GA
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from problem.GAProblem

Inherited from fitness.MG

Inherited from problem.Scaling

Inherited from GAScaling

Inherited from genome.GA

Inherited from GenomeClamping

Inherited from RandomGenome

Inherited from problem.Problem

Inherited from Evolution

Inherited from elitism.Elitism

Inherited from elitism.IndividualFilter

Inherited from breed.Breeding

Inherited from archive.Archive

Inherited from archive.A

Inherited from Lambda

Inherited from termination.Termination

Inherited from fitness.F

Inherited from phenotype.P

Inherited from genome.G

Inherited from AnyRef

Inherited from Any

Ungrouped