Public Member Functions | |
SADEGenerator (int poblacion, int dimension, int iteraciones, int LP) | |
Prototype | mutant (ArrayList< Prototype > population, int actual, int mejor) |
int | selectStrategy (double ProbabilityStrategy[]) |
void | execute () |
Static Public Member Functions | |
static void | main (String[] args) |
Definition at line 21 of file SADEGenerator.java.
org.sci2s.eamhco.SADEGenerator.SADEGenerator | ( | int | poblacion, | |
int | dimension, | |||
int | iteraciones, | |||
int | LP | |||
) |
Build a new DEGenerator Algorithm
Definition at line 44 of file SADEGenerator.java.
void org.sci2s.eamhco.SADEGenerator.execute | ( | ) |
Generate a reduced prototype set by the SADEGenerator method.
Definition at line 257 of file SADEGenerator.java.
static void org.sci2s.eamhco.SADEGenerator.main | ( | String[] | args | ) | [static] |
args | Arguments of the main function. |
Definition at line 531 of file SADEGenerator.java.
Prototype org.sci2s.eamhco.SADEGenerator.mutant | ( | ArrayList< Prototype > | population, | |
int | actual, | |||
int | mejor | |||
) |
I modified the order of the list of strategies, i need it because i want to do the Same POOL like the paper. Original POOL = DE/Rand/1/bin. | DE/rand-to-best/2/bin | De/Rand/2/bin | DE/current-to-rand/1/arithmetic
population | ||
actual | ||
mejor |
Definition at line 87 of file SADEGenerator.java.
int org.sci2s.eamhco.SADEGenerator.selectStrategy | ( | double | ProbabilityStrategy[] | ) |
I use this function to calculate what strategy we must use with the probability strategy we have.
ProbabilityStrategy |
Definition at line 206 of file SADEGenerator.java.