Trait/Object

fr.iscpif.mgo.test

Rastrigin

Related Docs: object Rastrigin | package test

Permalink

trait Rastrigin extends GAProblem with MGFitness

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Rastrigin
  2. MGFitness
  3. GAProblem
  4. MG
  5. Scaling
  6. GAScaling
  7. GA
  8. GenomeClamping
  9. RandomGenome
  10. Problem
  11. Evolution
  12. Elitism
  13. IndividualFilter
  14. Breeding
  15. Archive
  16. A
  17. Lambda
  18. Termination
  19. F
  20. P
  21. G
  22. AnyRef
  23. 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. type F = Seq[Double]

    Permalink
    Definition Classes
    MGFitnessF
  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 = Double

    Permalink
    Definition Classes
    RastriginP
  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 genomeSize: Int

    Permalink

    Size of the value part of the genome

    Size of the value part of the genome

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

    Permalink
    Definition Classes
    Archive
  7. abstract def initialState: STATE

    Permalink

    Compute the initial state

    Compute the initial state

    returns

    the initial state

    Definition Classes
    Termination
  8. abstract def lambda: Int

    Permalink

    the size of the offspring

    the size of the offspring

    Definition Classes
    Lambda
  9. abstract def randomGenome(implicit rng: Random): G

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

    Permalink
    Definition Classes
    GA
  11. 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 Rastrigin to any2stringadd[Rastrigin] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Rastrigin, B)

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. 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
  10. def ensuring(cond: (Rastrigin) ⇒ Boolean, msg: ⇒ Any): Rastrigin

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def evaluate(phenotype: P, rng: Random): Seq[P]

    Permalink

    Evaluate a phenotype

    Evaluate a phenotype

    phenotype

    the phenotype to evaluate

    returns

    the phenotype

    Definition Classes
    RastriginProblem
  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): Double

    Permalink
    Definition Classes
    RastriginGAProblem
  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(f: F): F

    Permalink
    Definition Classes
    MGFitnessMG
  26. def fitness(individual: Individual[G, P, F]): Seq[Double]

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  32. def max: Seq[Double]

    Permalink

    Maximum scaled value in the correct order

    Maximum scaled value in the correct order

    Definition Classes
    RastriginScaling
  33. def min: Seq[Double]

    Permalink

    minimum scaled value in the correct order

    minimum scaled value in the correct order

    Definition Classes
    RastriginScaling
  34. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  37. 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
  38. 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
  39. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  41. 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
  42. final def wait(): Unit

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

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

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

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

Inherited from fitness.MGFitness

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 Rastrigin to any2stringadd[Rastrigin]

Inherited by implicit conversion StringFormat from Rastrigin to StringFormat[Rastrigin]

Inherited by implicit conversion Ensuring from Rastrigin to Ensuring[Rastrigin]

Inherited by implicit conversion ArrowAssoc from Rastrigin to ArrowAssoc[Rastrigin]

Ungrouped