|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--Prim
Construit une approche du problème du voyageur de commerce à l'aide de l'heuristique de Christofidès. L'arbre recouvrant minimal est constuit par l'algorithme de Prim.
| Field Summary | |
(package private) java.util.Vector |
dessin
|
| Constructor Summary | |
Prim()
Constructeur par défaut |
|
| Method Summary | |
void |
algorithme(Graphe graphe)
Application de l'algorithme de Christofidès |
(package private) java.util.Vector |
arbreRecouvrant(Graphe graphe)
Construction des arêtes de l'arbre recouvrant avec l'algorithme de Prim. |
(package private) void |
creeDessin(Graphe graphe,
java.util.Vector circuit)
Crée le tableau contenant les informations nécessaires à la construction du dessin. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
java.util.Vector dessin
| Constructor Detail |
public Prim()
| Method Detail |
java.util.Vector arbreRecouvrant(Graphe graphe)
graphe - les points du graphe.
void creeDessin(Graphe graphe,
java.util.Vector circuit)
graphe - les informations sur le graphecircuit - l'approche du problème du voyageur de commerce sur le
graphepublic void algorithme(Graphe graphe)
graphe - les informations sur le graphe
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||