|
// Ajouter ou modifier un noeud existant au graphe: addNode(String n, int x, int y)
|
|
// Obtenir un noeud à partir d'une position: String n =getClosestNode(int x, int y)
|
|
// Détruire un noeud: removeNode(String n)
|
|
// Obtenir la liste de tous les noeuds: String[] Listn_ = getAllNodes()
|
|
// Obtenir la liste des noeuds en lien avec un noeud spécifique: String[] Listn_ = getNodes(String n)
|
|
// Ajouter ou modifier un lien existant entre deux noeuds: addLink(String nA, String nB, double p)
|
|
// Détruire un lien existant entre deux noeuds: removeLink(String nA, String nB)
|
|
// Questionner si deux noeuds sont liés: boolean a = isLink(String nA, String nB)
|
|
// Obtenir le poids d'un lien entre deux noeud: double p = getLink(String nA, String nB)
|