|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--Kruskal
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 Kruskal.
| Field Summary | |
(package private) java.util.Vector |
dessin
|
| Constructor Summary | |
Kruskal()
Constructeur par défaut |
|
| Method Summary | |
void |
algorithme(Graphe graphe)
Application de l'algorithme de Christofidès |
private java.util.Vector |
arbreRecouvrant(Graphe graphe)
Construction des arêtes de l'arbre recouvrant avec l'algorithme de Kruskal. |
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 Kruskal()
| Method Detail |
private java.util.Vector arbreRecouvrant(Graphe graphe)
graphe - contient les informations sur les points et les distances
entre les points.
private 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 | ||||||