Package org.uma.evolver.example.base
Class NSGAIIZDT4Example
java.lang.Object
org.uma.evolver.example.base.NSGAIIZDT4Example
Example: Running NSGA-II on ZDT4 Problem
This example demonstrates how to configure and execute the NSGA-II algorithm to solve the ZDT4
multi-objective optimization problem using the Evolver framework.
Steps to run this example:
1. The algorithm will automatically load parameters from NSGAIIDoubleFull.yaml
2. The reference front is loaded from resources/referenceFronts/ZDT4.csv
3. The algorithm will run for a maximum of 25,000 evaluations
4. Results are saved to VAR.csv (variables) and FUN.csv (objectives)
5. A real-time chart shows the evolution of the Pareto front (if enabled)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NSGAIIZDT4Example
public NSGAIIZDT4Example()
-
-
Method Details
-
main
Main execution method for the NSGA-II ZDT4 example. The algorithm is configured with the following key parameters: - Population size: 100 - Maximum evaluations: 25,000 - Crossover: SBX with probability 0.9 - Mutation: Polynomial with distribution index 20.0 - Selection: Binary tournament- Parameters:
args- Command line arguments. Not used in the example, but it is possible to run the program using as arguments the same parameter string assigned to the parameters variable. In that case, just assign args to the parameters variable.- Throws:
IOException
-