fr.iscpif.mgo.test

Griewangk

trait Griewangk extends GAProblem with MGFitness

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Griewangk
  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 any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  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

  3. type F = Seq[Double]

    Definition Classes
    MGFitnessF
  4. abstract type G

    Definition Classes
    G
  5. type P = Double

    Definition Classes
    GriewangkP
  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: Lens[G, Seq[Double]]): Lens[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 genomeSize: Int

    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

    Definition Classes
    Archive
  7. abstract def initialState: STATE

    Compute the initial state

    Compute the initial state

    returns

    the initial state

    Definition Classes
    Termination
  8. abstract def lambda: Int

    the size of the offspring

    the size of the offspring

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

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

    Definition Classes
    GA
  11. 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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

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

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

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

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

    Definition Classes
    Evolution
  10. def clone(): AnyRef

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

    Definition Classes
    Elitism
  12. def ensuring(cond: (Griewangk) ⇒ Boolean, msg: ⇒ Any): Griewangk

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

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

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

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

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

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

    Evaluate a phenotype

    Evaluate a phenotype

    phenotype

    the phenotype to evaluate

    returns

    the phenotype

    Definition Classes
    GriewangkProblem
  19. def evolve(implicit rng: Random): Iterator[EvolutionState]

    Definition Classes
    Problem
  20. 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
  21. 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
  22. def express(g: Seq[Double], rng: Random): Double

    Definition Classes
    GriewangkGAProblem
  23. def express(g: G, rng: Random): P

    Definition Classes
    GAProblemProblem
  24. 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
  25. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def fitness(f: F): F

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

    Definition Classes
    MG
  28. def formatted(fmtstr: String): String

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

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

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

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

    Definition Classes
    Any
  33. def max: Seq[Double]

    Maximum scaled value in the correct order

    Maximum scaled value in the correct order

    Definition Classes
    GriewangkScaling
  34. def min: Seq[Double]

    minimum scaled value in the correct order

    minimum scaled value in the correct order

    Definition Classes
    GriewangkScaling
  35. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  41. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def [B](y: B): (Griewangk, B)

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from Griewangk to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (griewangk: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from Griewangk to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (griewangk: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: Griewangk

    Implicit information
    This member is added by an implicit conversion from Griewangk to ArrowAssoc[Griewangk] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (griewangk: ArrowAssoc[Griewangk]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Griewangk

    Implicit information
    This member is added by an implicit conversion from Griewangk to Ensuring[Griewangk] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (griewangk: Ensuring[Griewangk]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

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 Griewangk to StringAdd

Inherited by implicit conversion any2stringfmt from Griewangk to StringFormat

Inherited by implicit conversion any2ArrowAssoc from Griewangk to ArrowAssoc[Griewangk]

Inherited by implicit conversion any2Ensuring from Griewangk to Ensuring[Griewangk]

Ungrouped