3 /* Copyright (c) 2006 Darina Dimitrova, Arnaud Legrand.
4 All rights reserved. */
6 /* This program is free software; you can redistribute it and/or modify it
7 * under the terms of the license (GNU LGPL) which comes with this package. */
9 #ifndef _XBT_GRAPH_PRIVATE_H
10 #define _XBT_GRAPH_PRIVATE_H
11 #include "xbt/dynar.h"
14 /* typedef struct xbt_node *xbt_node_t; */
15 typedef struct xbt_node
18 xbt_dynar_t in; /* not used when the graph is directed */
19 void *data; /* used data */
20 void *xbtdata; /* private xbt data */
24 /* typedef struct xbt_edge *xbt_edge_t; */
25 typedef struct xbt_edge
29 void *data; /* used data */
30 void *xbtdata; /* private xbt data */
35 /* typedef struct xbt_graph *xbt_graph_t; */
36 typedef struct xbt_graph
40 unsigned short int directed;
41 void *data; /* used data */
42 void *xbtdata; /* private xbt data */
44 void xbt_floyd_algorithm(xbt_graph_t g, double* adj,double* d, xbt_node_t* p);
47 #endif /* _XBT_GRAPH_PRIVATE_H */