public class NSGAII extends Algorithm
inputParameters_, operators_, outPutParameters_, problem_| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<java.lang.Integer> |
CountArchElements(Solution solution) |
SolutionSet |
execute()
Runs the NSGA-II algorithm.
|
boolean |
IsValidArchElements(java.util.ArrayList<java.lang.Integer> lst1,
java.util.ArrayList<java.lang.Integer> lst2) |
Solution[] |
selectionComplementary(SolutionSet pop) |
void |
sortFitnessSoluction(java.util.ArrayList<Solution> listFitness,
int objective) |
addOperator, getInputParameter, getOperator, getOutputParameter, getProblem, setInputParameter, setOutputParameterpublic NSGAII(Problem problem)
problem - Problem to solvepublic SolutionSet execute() throws JMException
execute in class AlgorithmSolutionSet that is a set of non dominated
solutions as a result of the algorithm executionJMException - default exceptionjava.lang.Exception - default exceptionpublic Solution[] selectionComplementary(SolutionSet pop)
public void sortFitnessSoluction(java.util.ArrayList<Solution> listFitness, int objective)
public java.util.ArrayList<java.lang.Integer> CountArchElements(Solution solution)
public boolean IsValidArchElements(java.util.ArrayList<java.lang.Integer> lst1,
java.util.ArrayList<java.lang.Integer> lst2)