X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0e9c0448c6566825b170b98ecff716b098bda10e..4a69abcc786d029bd2962537f767d12a0f808d11:/src/xbt/graph_private.h diff --git a/src/xbt/graph_private.h b/src/xbt/graph_private.h index 9028ed67ef..53bd160be5 100644 --- a/src/xbt/graph_private.h +++ b/src/xbt/graph_private.h @@ -1,21 +1,15 @@ -/* Copyright (c) 2006, 2009-2010, 2012. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2006-2017. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#ifndef _XBT_GRAPH_PRIVATE_H -#define _XBT_GRAPH_PRIVATE_H +#ifndef XBT_GRAPH_PRIVATE_H +#define XBT_GRAPH_PRIVATE_H + +#include "xbt/base.h" #include "xbt/dynar.h" #include "xbt/graph.h" -#define NOT_EXPLORED 0 -#define CURRENTLY_EXPLORING 1 -#define ALREADY_EXPLORED 2 - -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); +XBT_PRIVATE void xbt_floyd_algorithm(xbt_graph_t g, double *adj, double *d, xbt_node_t * p); -#endif /* _XBT_GRAPH_PRIVATE_H */ +#endif