Package org.opt4j.optimizers.mopso
Class MOPSOModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.opt4j.core.start.Opt4JModule
-
- org.opt4j.core.optimizer.OptimizerModule
-
- org.opt4j.optimizers.mopso.MOPSOModule
-
- All Implemented Interfaces:
com.google.inject.Module
@Citation(title="Improving PSO-based Multi-Objective Optimization using Crowding, Mutation and \u00cf\u00b5-Dominance", authors="Margarita Reyes Sierra and Carlos A. Coello Coello", journal="Proceedings of Evolutionary Multi-Criterion Optimization", pageFirst=505, pageLast=519, month=UNKNOWN, year=2005, doi="10.1007/978-3-540-31880-4_35") public class MOPSOModule extends org.opt4j.core.optimizer.OptimizerModule
TheMOPSOModule
for theMOPSO
optimizer.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
archiveSize
protected int
iterations
protected int
particles
protected double
perturbation
-
Constructor Summary
Constructors Constructor Description MOPSOModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class org.opt4j.core.optimizer.OptimizerModule
bindIterativeOptimizer, bindOptimizer
-
Methods inherited from class org.opt4j.core.start.Opt4JModule
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, bindConstant, bindConstant, bindConstant, bindConstant, configure, constant, multi
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
getPerturbation
public double getPerturbation()
Returns the perturbation.- Returns:
- the perturbation
- See Also:
setPerturbation(double)
-
setPerturbation
public void setPerturbation(double perturbation)
Sets the perturbation.- Parameters:
perturbation
- the perturbation to set- See Also:
getPerturbation()
-
getIterations
public int getIterations()
Returns the number of iterations.- Returns:
- the iterations
- See Also:
setIterations(int)
-
setIterations
public void setIterations(int iterations)
Sets the the number of iterations.- Parameters:
iterations
- the iterations to set- See Also:
getIterations()
-
getParticles
public int getParticles()
Returns the number of particles.- Returns:
- the particles
- See Also:
setParticles(int)
-
setParticles
public void setParticles(int particles)
Sets the number of particles.- Parameters:
particles
- the particles to set- See Also:
getParticles()
-
getArchiveSize
public int getArchiveSize()
Returns the leader archive size.- Returns:
- the archiveSize
- See Also:
setArchiveSize(int)
-
setArchiveSize
public void setArchiveSize(int archiveSize)
Sets the leader archive size.- Parameters:
archiveSize
- the archiveSize to set- See Also:
getArchiveSize()
-
config
protected void config()
- Specified by:
config
in classorg.opt4j.core.start.Opt4JModule
-
-