Object/Class

sessl.opt4j

Opt4JSetup

Related Docs: class Opt4JSetup | package opt4j

Permalink

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

AbstractOptimizerSetup

SimpleParameterEvaluator

SimpleParameterDecoder

SimpleParameterCreator

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

    Permalink

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

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

    Permalink

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createRNG(): Random

    Permalink

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

  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def eval(params: SimpleParameters): Objective

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  14. def iterationComplete(population: Population, archive: Archive): Option[Unit]

    Permalink

    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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def optDirToSign(d: OptDirection): Sign

    Permalink

    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 = System.currentTimeMillis): Unit

    Permalink

    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

    Permalink

    Releases ownership of this object.

    Releases ownership of this object.

    s

    the setup that currently owns the singleton

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

    Permalink

    Get the search space.

    Get the search space.

    returns

    the search space

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

    Permalink

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

  23. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped