summaryrefslogtreecommitdiff
path: root/graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'graph.h')
-rw-r--r--graph.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/graph.h b/graph.h
index 3c913ba..e85ef90 100644
--- a/graph.h
+++ b/graph.h
@@ -30,15 +30,15 @@
#include "sets.h"
struct graph_descriptor {
- int N; // number of nodes
- set *neighbour; // set of neighbours for each node
+ int N; // nombre de noeuds
+ set *neighbour; // ensemble des voisins de chaque noeuds
};
typedef struct graph_descriptor *graph;
-graph load_graph(FILE *stream); // format specified in README file
-graph load_graph_dimacs(FILE *stream); // again, see README
+graph load_graph(FILE *stream); // spécification du format dans le fichier README
+graph load_graph_dimacs(FILE *stream); // cf README
const set graph_neighbours(const graph g, int n);
void dump_graphviz(const graph g, FILE *stream);
void delete_graph(graph g);