Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't destroy synchro in a simcall, this drives the JVM nuts
[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
10 #include "xbt/base.h"
11 #include "xbt/dynar.h"
12 #include "xbt/graph.h"
13
14 #define NOT_EXPLORED 0
15 #define CURRENTLY_EXPLORING 1
16 #define ALREADY_EXPLORED 2
17
18 XBT_PRIVATE void xbt_floyd_algorithm(xbt_graph_t g, double *adj, double *d,
19                          xbt_node_t * p);
20 XBT_PRIVATE void xbt_graph_depth_visit(xbt_graph_t g, xbt_node_t n,
21                            xbt_node_t * sorted, int *idx);
22
23 #endif                          /* _XBT_GRAPH_PRIVATE_H */