jmetal.metaheuristics.singleObjective.geneticAlgorithm
Class gGA

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

public class gGA
extends Algorithm

Class implementing a generational genetic algorithm

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jmetal.core.Algorithm
inputParameters_, operators_, problem_
 
Constructor Summary
gGA(Problem problem)
          Constructor Create a new GGA instance.
 
Method Summary
 SolutionSet execute()
          Execute the GGA 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

gGA

public gGA(Problem problem)
Constructor Create a new GGA instance.

Parameters:
problem - Problem to solve.
Method Detail

execute

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