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
- Alphabetic
- By Inheritance
- Opt4JSetup
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
def
createRNG(): Random
Creates (pseudo) random number generator with a fixed seed (defined by the owner).
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
iterationComplete(population: Population, archive: Archive): Option[Unit]
Event handler to be called by the
IterationListenerwhenever an iteration is done.Event handler to be called by the
IterationListenerwhenever an iteration is done.- population
the population
- archive
the archive containing the best individuals (pareto front)
- Attributes
- protected[sessl.opt4j]
- See also
IterationListener
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
optDirToSign(d: OptDirection): Sign
Convert optimization direction into sign (used by Opt4J to distinguish this).
-
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)
-
def
release(s: Opt4JSetup): Unit
Releases ownership of this object.
Releases ownership of this object.
- s
the setup that currently owns the singleton
-
def
searchSpace: List[SearchSpaceDimension[_]]
Get the search space.
Get the search space.
- returns
the search space
-
def
signToOptDir(s: Sign): Product with Serializable with OptDirection
Convert optimization direction into sign (used by Opt4J to distinguish this).
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )