Skip to content
Snippets Groups Projects
Commit 807d8646 authored by a.croix's avatar a.croix
Browse files

Fix some style

parent e7047ffc
No related branches found
No related tags found
No related merge requests found
Pipeline #1019 failed
......@@ -3,9 +3,14 @@ package be.cylab.java.wowa.training;
import java.util.logging.Logger;
/**
* Parameters for the Trainer object
* Parameters for the Trainer object.
*/
public class TrainerParameters {
/**
* Constant for choosing the selection method
* SELECTION_METHODRWS for the roulette wheel selection method
* SELECTION_METHOD_TOS for the tournament selection
*/
public static final int SELECTION_METHOD_RWS = 374;
public static final int SELECTION_METHOD_TOS = 942;
......@@ -23,11 +28,18 @@ public class TrainerParameters {
/**
* Contains parameters for the WOWA trainer.
*
* @param population_size Size of the population for the Genetic Algorithm (greater than 2)
* @param crossover_rate Crossover rate for the genetic algorithm. Percentage of the population kept to generate the next generation (1-99)
* @param mutation_rate Mutation rate for the genetic algorithm. percentage of genes mutated in the next generation (1-99)
* @param selection_method Method to select parents for the next generation. RWS or TOS
* @param max_generation_number Max generation number before the algorithm stop
* @param population_size Size of the population for the
* Genetic Algorithm (greater than 2)
* @param crossover_rate Crossover rate for the genetic algorithm.
* Percentage of the population kept
* to generate the next generation (1-99)
* @param mutation_rate Mutation rate for the genetic algorithm.
* percentage of genes mutated in the
* next generation (1-99)
* @param selection_method Method to select parents for the next
* generation. RWS or TOS
* @param max_generation_number Max generation number before
* the algorithm stop
*/
public TrainerParameters(
//Logger logger,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment