Trait

fr.iscpif.mgo.test

Sphere

Related Doc: package test

Permalink

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
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. abstract type A

    Permalink
    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

    Permalink

    Represent a state of the evolution algorithm

    Represent a state of the evolution algorithm

    Definition Classes
    Evolution
  3. abstract type F

    Permalink
    Definition Classes
    F
  4. type FILTER = (Population[G, P, F]) ⇒ Population[G, P, F]

    Permalink
    Definition Classes
    IndividualFilter
  5. abstract type G

    Permalink
    Definition Classes
    G
  6. type P = Seq[Double]

    Permalink
    Definition Classes
    SphereP
  7. abstract type STATE

    Permalink

    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

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

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

    Permalink
    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]

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

    Permalink

    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]

    Permalink
    Definition Classes
    MG
  7. abstract def genomeSize: Int

    Permalink

    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

    Permalink
    Definition Classes
    Archive
  9. abstract def initialState: STATE

    Permalink

    Compute the initial state

    Compute the initial state

    returns

    the initial state

    Definition Classes
    Termination
  10. abstract def lambda: Int

    Permalink

    the size of the offspring

    the size of the offspring

    Definition Classes
    Lambda
  11. abstract def n: Int

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

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

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

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sphere to any2stringadd[Sphere] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Sphere, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sphere to ArrowAssoc[Sphere] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

    Permalink
  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    Evolution
  9. def clone(): AnyRef

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

    Permalink
    Definition Classes
    Elitism
  11. def ensuring(cond: (Sphere) ⇒ Boolean, msg: ⇒ Any): Sphere

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sphere to Ensuring[Sphere] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Sphere) ⇒ Boolean): Sphere

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sphere to Ensuring[Sphere] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): Sphere

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sphere to Ensuring[Sphere] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Sphere

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sphere to Ensuring[Sphere] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink

    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
  19. def evolve(population: Population[G, P, F], archive: A, expression: (G, Random) ⇒ P, evaluation: (P, Random) ⇒ F)(implicit rng: Random): Iterator[EvolutionState]

    Permalink

    Run the evolutionary algorithm

    Run the evolutionary algorithm

    population

    the initial individuals

    archive

    the initial archive

    expression

    the genome expression

    evaluation

    the fitness evaluator

    returns

    an iterator over the states of the evolution

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

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

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

    Permalink

    Filter the individuals

    Filter the individuals

    population

    the set of evaluated individuals

    returns

    the filtrated individuals

    Definition Classes
    IndividualFilter
  23. def filters: Seq[FILTER]

    Permalink
    Definition Classes
    IndividualFilter
  24. def finalize(): Unit

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

    Permalink
    Definition Classes
    MG
  26. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sphere to StringFormat[Sphere] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  27. def genomesEqualOn(g: G): Any

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

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

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

    Permalink
    Definition Classes
    Any
  31. def max: List[Double]

    Permalink

    Maximum scaled value in the correct order

    Maximum scaled value in the correct order

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

    Permalink

    minimum scaled value in the correct order

    minimum scaled value in the correct order

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

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

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

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

    Permalink

    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
  37. 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)

    Permalink

    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
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  40. def values: Lens[G, Seq[Double]]

    Permalink

    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
  41. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def [B](y: B): (Sphere, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Sphere to ArrowAssoc[Sphere] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

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

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]

Ungrouped