Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Cleanup mc_hash
[simgrid.git] / src / xbt / graph_private.h
1 /* Copyright (c) 2006, 2009-2010, 2012-2014. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef _XBT_GRAPH_PRIVATE_H
8 #define _XBT_GRAPH_PRIVATE_H
9 #include "xbt/dynar.h"
10 #include "xbt/graph.h"
11
12 #define NOT_EXPLORED 0
13 #define CURRENTLY_EXPLORING 1
14 #define ALREADY_EXPLORED 2
15
16 void xbt_floyd_algorithm(xbt_graph_t g, double *adj, double *d,
17                          xbt_node_t * p);
18 void xbt_graph_depth_visit(xbt_graph_t g, xbt_node_t n,
19                            xbt_node_t * sorted, int *idx);
20
21 #endif                          /* _XBT_GRAPH_PRIVATE_H */