eg_dagsp.h

Go to the documentation of this file.
00001 /* EGlib "Efficient General Library" provides some basic structures and
00002  * algorithms commons in many optimization algorithms.
00003  *
00004  * Copyright (C) 2005 Daniel Espinoza and Marcos Goycoolea.
00005  * 
00006  * This library is free software; you can redistribute it and/or modify it
00007  * under the terms of the GNU Lesser General Public License as published by the
00008  * Free Software Foundation; either version 2.1 of the License, or (at your
00009  * option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful, but 
00012  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
00013  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public 
00014  * License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public License
00017  * along with this library; if not, write to the Free Software Foundation,
00018  * Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
00019  * */
00020 #ifndef _EGDAGSP
00021 #define _EGDAGSP
00022 
00023 #include<stdio.h>
00024 #include<stdlib.h>
00025 
00026 #include "eg_dgraph.h"
00027 #include "eg_dijkstra.h"
00028 #include "eg_macros.h"
00029 
00030 int EGdagsp (EGdGraphNode_t * s,
00031              size_t * os,
00032              EGdGraph_t * G);
00033 void EGdagspInitialize (EGdGraphNode_t * s,
00034                         EGdGraph_t * G,
00035                         size_t * os);
00036 void EGdagspRelax (EGdGraphEdge_t * e,
00037                    size_t * os);
00038 int EGdagspTopologicSort (EGdGraph_t * G,
00039                           EGdGraphNode_t * s,
00040                           EGlist_t * sort,
00041                           size_t * os,
00042                           EGmemPool_t * mem);
00043 
00044 #endif

Generated on Mon Jan 30 08:48:52 2006 for EGlib by  doxygen 1.4.5