jmetal.metaheuristics.spea2
Class SPEA2

java.lang.Object
  extended by jmetal.core.Algorithm
      extended by jmetal.metaheuristics.spea2.SPEA2
All Implemented Interfaces:
java.io.Serializable

public class SPEA2
extends Algorithm

This class representing the SPEA2 algorithm

See Also:
Serialized Form

Field Summary
static int TOURNAMENTS_ROUNDS
          Defines the number of tournaments for creating the mating pool
 
Fields inherited from class jmetal.core.Algorithm
inputParameters_, operators_, problem_
 
Constructor Summary
SPEA2(Problem problem)
          Constructor.
 
Method Summary
 SolutionSet execute()
          Runs of the Spea2 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
 

Field Detail

TOURNAMENTS_ROUNDS

public static final int TOURNAMENTS_ROUNDS
Defines the number of tournaments for creating the mating pool

See Also:
Constant Field Values
Constructor Detail

SPEA2

public SPEA2(Problem problem)
Constructor. Create a new SPEA2 instance

Parameters:
problem - Problem to solve
Method Detail

execute

public SolutionSet execute()
                    throws JMException,
                           java.lang.ClassNotFoundException
Runs of the Spea2 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