public class SubClasses
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
nbGen |
Constructor and Description |
---|
SubClasses() |
Modifier and Type | Method and Description |
---|---|
static void |
coEvolution(java.util.List<Agent> agents,
int nbIter,
int popParFamille) |
static void |
memPop(java.lang.String fileName,
java.util.Map<java.lang.String,java.lang.Integer[]> everyPop,
int nbGen) |
static void |
printFile(java.lang.String fileName,
java.lang.String agentName,
java.lang.Integer[] pop,
int popTot,
int counter)
Permet d'écrire dans un fichier afin de produire des courbeset faire des
moyennes pour les competitions écolos
|
static void |
subSetClassic(java.util.List<Agent> s,
java.util.List<Agent> e,
int sizeCompetMin,
int sizeCompetMax,
int nbIter,
boolean verbose,
int totPop)
Version classique de l'expérience des sous-ensembles
|
static void |
subSetClassic(java.util.List<Agent> s,
java.util.List<Agent> e,
int sizeCompetMin,
int sizeCompetMax,
int nbIter,
boolean verbose,
int totPop,
boolean equitable,
boolean showBest) |
static void |
subSetEcolo(java.util.List<Agent> s,
java.util.List<Agent> e,
int sizeCompetMin,
int sizeCompetMax,
int nbIter,
boolean verbose,
int totPop) |
public static void subSetClassic(java.util.List<Agent> s, java.util.List<Agent> e, int sizeCompetMin, int sizeCompetMax, int nbIter, boolean verbose, int totPop) throws java.lang.Exception
s
- On répète l'expérience séparement pour chacun des agents de S,
puis on compare leurs résultatse
- La compétition est complétée par un certain nombre d'agents de EsizeCompetMin
- Il y a au moins ce nombre de famillessizeCompetMax
- nbIter
- java.lang.Exception
public static void subSetClassic(java.util.List<Agent> s, java.util.List<Agent> e, int sizeCompetMin, int sizeCompetMax, int nbIter, boolean verbose, int totPop, boolean equitable, boolean showBest) throws java.lang.Exception
java.lang.Exception
public static void memPop(java.lang.String fileName, java.util.Map<java.lang.String,java.lang.Integer[]> everyPop, int nbGen) throws java.io.IOException
java.io.IOException
public static void subSetEcolo(java.util.List<Agent> s, java.util.List<Agent> e, int sizeCompetMin, int sizeCompetMax, int nbIter, boolean verbose, int totPop) throws java.lang.Exception
java.lang.Exception
public static void coEvolution(java.util.List<Agent> agents, int nbIter, int popParFamille) throws java.lang.Exception
java.lang.Exception
public static void printFile(java.lang.String fileName, java.lang.String agentName, java.lang.Integer[] pop, int popTot, int counter)