object Opt4JSetup

Companion object for the setup. Since Opt4J uses the GUICE framework for dependency injection, which does not seen to support the binding of anonymous inner classes, this object contains all problem-specific information that is required by the creator/decoder/evaluator classes.

To avoid bugs (race conditions etc.), the setup has a dedicated owner, i.e. in the current implementation Opt4J cannot be used to optimize multiple problems in parallel, only sequentially (this should not be too big a deal, as each objective function evaluation may be parallelized, and also the evaluation of different individuals).

See also

SimpleParameterCreator

SimpleParameterDecoder

SimpleParameterEvaluator

AbstractOptimizerSetup

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Opt4JSetup
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type SESSLObjectiveFun[-X <: Objective] = (OptimizationParameters, X) ⇒ Unit

    The objective function of SESSL (there is a name clash with Opt4J's objective function).

  2. type SearchSpace = Seq[SearchSpaceDimension[_]]

    The search space is defined as a sequence of search space dimensions.

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 clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def createRNG(): Random

    Creates (pseudo) random number generator with a fixed seed (defined by the owner).

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def eval(params: SimpleParameters): Objective

    Evaluate the current objective function for the given parameters.

    Evaluate the current objective function for the given parameters.

    params

    the input parameters of the objective function

    returns

    the results

  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def iterationComplete(population: Population, archive: Archive): Option[Unit]

    Event handler to be called by the IterationListener whenever an iteration is done.

    Event handler to be called by the IterationListener whenever an iteration is done.

    population

    the population

    archive

    the archive containing the best individuals (pareto front)

    Attributes
    protected[sessl.opt4j]
    See also

    IterationListener

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def optDirToSign(d: OptDirection): Sign

    Convert optimization direction into sign (used by Opt4J to distinguish this).

  19. def register(s: Opt4JSetup, o: Objective, f: ObjectiveFunction[_ <: Objective], se: SearchSpace, rngSeed: Long): Unit

    Register the given setup as owner, store the given problem-specific information.

    Register the given setup as owner, store the given problem-specific information.

    s

    the setup (new owner)

    o

    objective

    f

    objective function

    se

    the search space

    rngSeed

    the RNG seed (System#currentTimeMillis per default)

  20. def release(s: Opt4JSetup): Unit

    Releases ownership of this object.

    Releases ownership of this object.

    s

    the setup that currently owns the singleton

  21. def searchSpace: List[SearchSpaceDimension[_]]

    Get the search space.

    Get the search space.

    returns

    the search space

  22. def signToOptDir(s: Sign): Product with Serializable with OptDirection

    Convert optimization direction into sign (used by Opt4J to distinguish this).

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped