public class MOPSOModule
extends org.opt4j.core.optimizer.OptimizerModule
MOPSOModule
for the MOPSO
optimizer.Modifier and Type | Field and Description |
---|---|
protected int |
archiveSize |
protected int |
iterations |
protected int |
particles |
protected double |
perturbation |
Constructor and Description |
---|
MOPSOModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
config() |
int |
getArchiveSize()
Returns the leader archive size.
|
int |
getIterations()
Returns the number of iterations.
|
int |
getParticles()
Returns the number of particles.
|
double |
getPerturbation()
Returns the perturbation.
|
void |
setArchiveSize(int archiveSize)
Sets the leader archive size.
|
void |
setIterations(int iterations)
Sets the the number of iterations.
|
void |
setParticles(int particles)
Sets the number of particles.
|
void |
setPerturbation(double perturbation)
Sets the perturbation.
|
bindIterativeOptimizer, bindOptimizer
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, bindConstant, bindConstant, bindConstant, bindConstant, configure, constant, multi
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected int particles
protected int archiveSize
protected int iterations
protected double perturbation
public double getPerturbation()
setPerturbation(double)
public void setPerturbation(double perturbation)
perturbation
- the perturbation to setgetPerturbation()
public int getIterations()
setIterations(int)
public void setIterations(int iterations)
iterations
- the iterations to setgetIterations()
public int getParticles()
setParticles(int)
public void setParticles(int particles)
particles
- the particles to setgetParticles()
public int getArchiveSize()
setArchiveSize(int)
public void setArchiveSize(int archiveSize)
archiveSize
- the archiveSize to setgetArchiveSize()
protected void config()
config
in class org.opt4j.core.start.Opt4JModule