|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--vabase.Cprocess | +--boid.Cboid
Classe de gestion des boids
Fields inherited from class vabase.Cprocess |
generation, isRunning, prThread, vue |
Constructor Summary | |
Cboid(boidUI ui,
int pop)
Constructeur |
Method Summary | |
void |
affPop()
Affichage de la population |
void |
disperse()
Dispersion |
void |
geneSuiv()
Création d'une nouvelle génération |
void |
initVue()
Initialisation/MAJ de la vue |
void |
placeObjectif(float x,
float y)
Place l'objectif |
void |
setAligne(int c)
Fixe la paramètre d'alignement |
void |
setCohesion(int c)
Fixe la paramètre de cohesion |
void |
setEvite(int c)
Fixe la paramètre d'évitement |
void |
setNewPb(int pop)
Initialisation nouveau problème |
void |
setNewPop(int p)
Création d'une nouvelle population |
void |
setObjectif(int c)
Fixe le paramètre d'objectif |
void |
setParam(int co,
int ev,
int al,
int ob,
int ve)
Mise à jour des paramètres |
void |
setVent(int c)
Vent |
void |
supprObjectif()
Supprime l'objectif |
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 Cboid(boidUI ui, int pop)
Method Detail |
public void setNewPb(int pop)
public void setParam(int co, int ev, int al, int ob, int ve)
public void setNewPop(int p)
public void initVue()
initVue
in class Cprocess
public void affPop()
public void placeObjectif(float x, float y)
public void supprObjectif()
public void disperse()
public void geneSuiv()
geneSuiv
in class Cprocess
public void setCohesion(int c)
public void setEvite(int c)
public void setAligne(int c)
public void setObjectif(int c)
public void setVent(int c)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |