|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--Echange2Opt
Construit une approche du problème du voyageur de commerce à l'aide de l'heuristique appelé échange 2-opt.
| Field Summary | |
(package private) java.util.Vector |
dessin
|
| Constructor Summary | |
(package private) |
Echange2Opt()
Constructeur par défaut. |
| Method Summary | |
void |
algorithme(Graphe graphe)
Application de l'algorithme échange 2-opt. |
(package private) void |
inverseSensCircuit(java.util.LinkedList circuit,
java.util.LinkedList listeArete,
int debut,
int fin)
Inverse le sens d'une partie d'un circuit. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
java.util.Vector dessin
| Constructor Detail |
Echange2Opt()
| Method Detail |
void inverseSensCircuit(java.util.LinkedList circuit,
java.util.LinkedList listeArete,
int debut,
int fin)
circuit - circuit considérélisteArete - liste d'arêtesdebut - debut du circuit à inverserfin - fin du circuit à inverserpublic void algorithme(Graphe graphe)
graphe - contient les informations sur les points et les distances
entre les points.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||