|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--vabase.Cprocess | +--pvcag.Cag
classe de gestion de l'algorithme génétique
Fields inherited from class vabase.Cprocess |
generation, isRunning, prThread, vue |
Constructor Summary | |
Cag(pvcUI ui,
int nbv,
int pop,
float mut)
Construction de l'ag dans une interface utilisateur, selon nombre de villes, population et taux de mutation |
Method Summary | |
void |
affParcours()
Affichage parcours |
void |
geneSuiv()
Création d'une nouvelle génération |
void |
initVue()
Initialisation/MAJ de la vue |
void |
setAffPire(boolean m)
Choix affichage pire parcours |
void |
setCross(int cross)
MAJ type crossover |
void |
setEchel(int m)
MAJ echelonnage |
void |
setMode(boolean m)
MAJ mode |
void |
setNewPb(int nbv,
int pop,
float mut)
Initialisation d'un nouveau problème |
void |
setNewPop(int p)
Création d'une nouvelle population |
Methods inherited from class vabase.Cprocess |
lancement, pasAPas, run, setTempo, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Cag(pvcUI ui, int nbv, int pop, float mut)
Method Detail |
public void setNewPb(int nbv, int pop, float mut)
public void setNewPop(int p)
public void initVue()
initVue
in class Cprocess
public void setMode(boolean m)
public void setCross(int cross)
public void setAffPire(boolean m)
public void setEchel(int m)
public void affParcours()
public void geneSuiv()
geneSuiv
in class Cprocess
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |