/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/neatogen/dijkstra.h

Go to the documentation of this file.
00001 /* $Id: dijkstra.h,v 1.1.1.1 2004/12/23 04:05:11 ellson Exp $ $Revision: 1.1.1.1 $ */
00002 /* vim:set shiftwidth=4 ts=8: */
00003 
00004 /**********************************************************
00005 *      This software is part of the graphviz package      *
00006 *                http://www.graphviz.org/                 *
00007 *                                                         *
00008 *            Copyright (c) 1994-2004 AT&T Corp.           *
00009 *                and is licensed under the                *
00010 *            Common Public License, Version 1.0           *
00011 *                      by AT&T Corp.                      *
00012 *                                                         *
00013 *        Information and Software Systems Research        *
00014 *              AT&T Research, Florham Park NJ             *
00015 **********************************************************/
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00021 
00022 
00023 #ifndef _DIJKSTRA_H_
00024 #define _DIJKSTRA_H_
00025 
00026 #include "defs.h"
00027 
00028 #ifdef __cplusplus
00029     void dijkstra(int vertex, vtx_data * graph, int n, DistType * dist);
00030 
00031 /* Dijkstra bounded to nodes in *unweighted* radius */
00032     void dijkstra_bounded(int vertex, vtx_data * graph, int n,
00033                           DistType * dist, int bound, int *visited_nodes,
00034                           int &num_visited_nodes);
00035 
00036 #else
00037     extern void dijkstra(int, vtx_data *, int, DistType *);
00038     extern void dijkstra_f(int, vtx_data *, int, float *);
00039 
00040     /* Dijkstra bounded to nodes in *unweighted* radius */
00041     extern int dijkstra_bounded(int, vtx_data *, int, DistType *, int,
00042                                 int *);
00043 #endif
00044 
00045 #endif
00046 
00047 #ifdef __cplusplus
00048 }
00049 #endif

Generated on Mon Mar 31 19:03:27 2008 for Graphviz by  doxygen 1.5.1