|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--InsertionMoindreCout
Construit une approche du problème du voyageur de commerce à l'aide de l'heuristique d'insertion au moindre coût.
| Field Summary | |
(package private) java.util.Vector |
dessin
|
| Constructor Summary | |
(package private) |
InsertionMoindreCout()
Constructeur par défaut. |
| Method Summary | |
void |
algorithme(Graphe graphe)
Application de l'algorithme d'insertion au moindre coût. |
(package private) double |
calculDistanceCircuit(Graphe graphe,
java.util.Vector circuit)
Calcule la longueur d'un circuit |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
java.util.Vector dessin
| Constructor Detail |
InsertionMoindreCout()
| Method Detail |
double calculDistanceCircuit(Graphe graphe,
java.util.Vector circuit)
graphe - contient les informations sur les points du circuit et
les distances entre les points.circuit - circuit que l'on évalue.public 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 | ||||||