Package org.opt4j.benchmarks.wfg
Class WFGModule
java.lang.Object
com.google.inject.AbstractModule
org.opt4j.core.start.Opt4JModule
org.opt4j.core.problem.ProblemModule
org.opt4j.benchmarks.wfg.WFGModule
- All Implemented Interfaces:
Module
@Citation(title="A Scalable Multi-objective Test Problem Toolkit",
authors="Simon Huband, Luigi Barone, Lyndon While, and Philip Hingston",
journal="Evolutionary Multi-Criterion Optimization",
pageFirst=280,
pageLast=295,
year=2005,
month=UNKNOWN,
doi="10.1007/978-3-540-31880-4_20")
public class WFGModule
extends ProblemModule
Module for the WFG (Walking Fish Group) benchmarks, see Huband et al. 2005.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe used encoding type.static enumThe used WFG function. -
Field Summary
Fields inherited from class org.opt4j.core.start.Opt4JModule
SINGLETON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfig()intgetBits()Returns the number of bits per double value.Returns the encoding (double or binary).Returns the WFG function.intgetK()Returns the k value.intgetL()Returns the l value.intgetM()Returns the m value.voidsetBits(int bits) Sets the number of bits per double value.voidsetEncoding(WFGModule.Encoding encoding) Set the encoding (double or binary).voidsetFunction(WFGModule.Function function) Sets the WFG function.voidsetK(int k) Sets the k value.voidsetL(int l) Sets the l value.voidsetM(int m) Sets the m value.Methods inherited from class org.opt4j.core.problem.ProblemModule
addEvaluator, bindProblemMethods inherited from class org.opt4j.core.start.Opt4JModule
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, bindConstant, bindConstant, bindConstant, constantMethods inherited from class com.google.inject.AbstractModule
configure
-
Constructor Details
-
WFGModule
public WFGModule()
-
-
Method Details
-
getBits
Returns the number of bits per double value.- Returns:
- the bits
-
setBits
Sets the number of bits per double value.- Parameters:
bits- the bits to set
-
getEncoding
Returns the encoding (double or binary).- Returns:
- the encoding
-
setEncoding
Set the encoding (double or binary).- Parameters:
encoding- the encoding
-
getFunction
Returns the WFG function.- Returns:
- the WFG function
-
setFunction
Sets the WFG function.- Parameters:
function- the WFG function
-
getL
Returns the l value.- Returns:
- the l value
-
setL
Sets the l value.- Parameters:
l- the l value
-
getM
Returns the m value.- Returns:
- the m
-
setM
Sets the m value.- Parameters:
m- the m to set
-
getK
Returns the k value.- Returns:
- the k
-
setK
Sets the k value.- Parameters:
k- the k to set
-
config
-