jmetal.metaheuristics.singleObjective.particleSwarmOptimization
Class PSO

java.lang.Object
  extended by jmetal.core.Algorithm
      extended by jmetal.metaheuristics.singleObjective.particleSwarmOptimization.PSO
All Implemented Interfaces:
java.io.Serializable

public class PSO
extends Algorithm

Class implementing a single-objective PSO algorithm

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jmetal.core.Algorithm
inputParameters_, operators_, problem_
 
Constructor Summary
PSO(Problem problem)
          Constructor
 
Method Summary
 SolutionSet execute()
          Runs of the SMPSO algorithm.
 void initParams()
          Initialize all parameter of the algorithm
 
Methods inherited from class jmetal.core.Algorithm
addOperator, getInputParameter, getOperator, getOutputParameter, getProblem, setInputParameter, setOutputParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSO

public PSO(Problem problem)
Constructor

Parameters:
problem - Problem to solve
Method Detail

initParams

public void initParams()
Initialize all parameter of the algorithm


execute

public SolutionSet execute()
                    throws JMException,
                           java.lang.ClassNotFoundException
Runs of the SMPSO algorithm.

Specified by:
execute in class Algorithm
Returns:
a SolutionSet that is a set of non dominated solutions as a result of the algorithm execution
Throws:
JMException
java.lang.ClassNotFoundException