fr.iscpif.mgo.problem

Scaling

trait Scaling extends Problem with GA with GAScaling

Layer to scale a sequence of Double in [0.0, 1.0]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Scaling
  2. GAScaling
  3. GA
  4. GenomeClamping
  5. RandomGenome
  6. Problem
  7. Evolution
  8. Elitism
  9. IndividualFilter
  10. Breeding
  11. Archive
  12. A
  13. Lambda
  14. Termination
  15. F
  16. P
  17. G
  18. AnyRef
  19. 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. abstract type P

    Definition Classes
    P
  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 express(g: G, rng: Random): P

    Definition Classes
    Problem
  7. abstract def genomeSize: Int

    Size of the value part of the genome

    Size of the value part of the genome

    Definition Classes
    GA
  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 max: Seq[Double]

    Maximum scaled value in the correct order

  12. abstract def min: Seq[Double]

    minimum scaled value in the correct order

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

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

    Definition Classes
    GA
  15. 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. def buildRNG(seed: Long): Random

    Definition Classes
    Evolution
  6. def clone(): AnyRef

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

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

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

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

    Definition Classes
    Problem
  11. 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
  12. 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
  13. 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
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def genomesEqualOn(g: G): Any

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

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

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

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. 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
  23. 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
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from GAScaling

Inherited from genome.GA

Inherited from GenomeClamping

Inherited from RandomGenome

Inherited from 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