fr.iscpif.mgo.test

RastriginVector

trait RastriginVector extends problem.Problem with problem.Scaling with ModelFamilyGenome with fitness.MGFitness

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

    Definition Classes
    MGFitnessF
  4. type G = Genome

    Definition Classes
    ModelFamilyGenomeG
  5. type P = Double

    Definition Classes
    RastriginVectorP
  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 initialArchive(implicit rng: Random): A

    Definition Classes
    Archive
  6. abstract def initialState: STATE

    Compute the initial state

    Compute the initial state

    returns

    the initial state

    Definition Classes
    Termination
  7. abstract def lambda: Int

    the size of the offspring

    the size of the offspring

    Definition Classes
    Lambda
  8. abstract def modelMasks: Range

  9. 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. lazy val bestFitness: IndexedSeq[Int]

  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 evaluate(phenotype: P, rng: Random): F

    Evaluate a phenotype

    Evaluate a phenotype

    phenotype

    the phenotype to evaluate

    returns

    the phenotype

    Definition Classes
    RastriginVectorProblem
  12. def evolve(implicit rng: Random): Iterator[EvolutionState]

    Definition Classes
    Problem
  13. 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
  14. 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
  15. def express(g: G, rng: Random): Double

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

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

    Definition Classes
    MG
  20. lazy val genomeSize: Int

    Size of the value part of the genome

    Size of the value part of the genome

    Definition Classes
    RastriginVectorModelFamilyGenomeGA
  21. def genomesEqualOn(g: G): Any

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

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

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

    Definition Classes
    Any
  25. lazy val masks: Seq[Seq[Boolean]]

  26. lazy val max: Seq[Double]

    Maximum scaled value in the correct order

    Maximum scaled value in the correct order

    Definition Classes
    RastriginVectorScaling
  27. lazy val min: Seq[Double]

    minimum scaled value in the correct order

    minimum scaled value in the correct order

    Definition Classes
    RastriginVectorScaling
  28. def modelId: Lens[G, G, Int, Int]

    Definition Classes
    ModelFamilyGenomeModelId
  29. def models: Int

    Definition Classes
    RastriginVectorModelFamilyGenome
  30. lazy val nbTrue: Seq[Int]

  31. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  34. def randomGenome(implicit rng: Random): Genome

    Definition Classes
    ModelFamilyGenomeGARandomGenome
  35. def rawValues: Lens[G, G, Seq[Double], Seq[Double]]

    Definition Classes
    ModelFamilyGenomeGA
  36. 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
  37. def sigma: Lens[G, G, Seq[Double], Seq[Double]]

    Definition Classes
    ModelFamilyGenomeSigma
  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)

    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

    Definition Classes
    AnyRef
  40. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from fitness.MGFitness

Inherited from fitness.MG

Inherited from ModelFamilyGenome

Inherited from genome.Sigma

Inherited from ModelId

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