X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5d1a13b3f51a5f4f6c28d6877f0cbde43e71d954..8750e7f378b5d48477e1b0b2796a437366a3ea2b:/src/xbt/graph_private.h diff --git a/src/xbt/graph_private.h b/src/xbt/graph_private.h index 607416183c..2c7cef294b 100644 --- a/src/xbt/graph_private.h +++ b/src/xbt/graph_private.h @@ -10,6 +10,10 @@ #define _XBT_GRAPH_PRIVATE_H #include "xbt/dynar.h" +#define NOT_EXPLORED 0 +#define CURRENTLY_EXPLORING 1 +#define ALREADY_EXPLORED 2 + /* Node structure */ /* typedef struct xbt_node *xbt_node_t; */ typedef struct xbt_node @@ -47,6 +51,6 @@ typedef struct xbt_graph beginning of your algorithm if you need to use it */ } s_xbt_graph_t; void xbt_floyd_algorithm(xbt_graph_t g, double* adj,double* d, xbt_node_t* p); - +void xbt_graph_depth_visit (xbt_graph_t g,xbt_node_t n,xbt_node_t* sorted,int* idx); #endif /* _XBT_GRAPH_PRIVATE_H */