summaryrefslogtreecommitdiff
path: root/graph.h
diff options
context:
space:
mode:
authorMendes Oulamara <oulamara@clipper.ens.fr>2013-12-06 18:08:37 +0100
committerMendes Oulamara <oulamara@clipper.ens.fr>2013-12-06 18:08:37 +0100
commit3c8b380b98b8fd5dcbaa3a254ab71ac20a485099 (patch)
treed294b3ec1ea86de96e57dcf50125a0cb7552b0e7 /graph.h
parent50b5699f9b6d887c31e546168d9e588b36e3f876 (diff)
downloadAlgoProg-Projet-3c8b380b98b8fd5dcbaa3a254ab71ac20a485099.tar.gz
AlgoProg-Projet-3c8b380b98b8fd5dcbaa3a254ab71ac20a485099.zip
Addition of sets_equal to bitsets
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);