jmetal.metaheuristics.singleObjective.geneticAlgorithm
Class pgGA

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

public class pgGA
extends Algorithm

A multithreaded generational genetic algorithm

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jmetal.core.Algorithm
inputParameters_, operators_, problem_
 
Constructor Summary
pgGA(Problem problem, IParallelEvaluator evaluator)
          Constructor
 
Method Summary
 SolutionSet execute()
          Runs the pgGA 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

pgGA

public pgGA(Problem problem,
            IParallelEvaluator evaluator)
Constructor

Parameters:
problem - Problem to solve
evaluator - Parallel evaluator
Method Detail

execute

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