-#include "xbt/misc.h"
-#include "xbt/sysdep.h"
+/* $Id$ */
+
+/* Copyright (c) 2006 Darina Dimitrova, Arnaud Legrand.
+ 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
#include "xbt/dynar.h"
/* Node structure */
{
xbt_dynar_t out;
xbt_dynar_t in;
+/* int index; */
void *data;
} s_xbt_node_t;
xbt_node_t src;
xbt_node_t dst;
void *data;
+ double length;
} s_xbt_edge_t;
/* Graph structure */
unsigned short int directed;
void *data;
} s_xbt_graph_t;
+void xbt_floyd_algorithm(xbt_graph_t g, double* adj,double* d, xbt_node_t* p);
+
+int xbt_get_node_index(xbt_graph_t g, xbt_node_t n);
+#endif /* _XBT_GRAPH_PRIVATE_H */