public class GeneticAlgorithm
extends java.lang.Object
Constructor and Description |
---|
GeneticAlgorithm() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsRule(java.util.ArrayList<LcsRule> list,
LcsRule r) |
static boolean |
containsRule(LcsRule[] tab,
LcsRule r,
int min,
int max) |
static LcsRule |
crossingOver(LcsRule pere,
LcsRule mere) |
static int |
fortuneWheel(java.util.ArrayList<LcsRule> rulesList) |
static LcsRule[] |
geneticAlgorithm(LcsRule[] rules) |
static LcsRule |
mutation(LcsRule r,
double probaMutation) |
public static int fortuneWheel(java.util.ArrayList<LcsRule> rulesList)