estar/dump.hpp

Go to the documentation of this file.
00001 /* 
00002  * Copyright (C) 2005 Roland Philippsen <roland dot philippsen at gmx net>
00003  * 
00004  * This program is free software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License as published by
00006  * the Free Software Foundation; either version 2 of the License, or
00007  * (at your option) any later version.
00008  * 
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  * 
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00017  * USA
00018  */
00019 
00020 
00021 #ifndef ESTAR_DUMP_HPP
00022 #define ESTAR_DUMP_HPP
00023 
00024 
00025 #include <estar/util.hpp>
00026 #include <stdio.h>
00027 
00028 
00029 namespace estar {
00030   
00031   
00032   class FacadeReadInterface;
00033   class Algorithm;
00034   class Grid;
00035   
00036   
00044   void dump_probabilities(const array<double> &prob,
00045                           size_t x0, size_t y0, size_t x1, size_t y1,
00046                           FILE * stream);
00047   
00048   
00054   void dump_raw(const array<double> &data,
00056                 double replace_infinity,
00057                 size_t x0, size_t y0, size_t x1, size_t y1,
00058                 FILE * stream);
00059   
00060   
00065   void dump_raw_value(const Grid & grid,
00066                       ssize_t x0, ssize_t y0, ssize_t x1, ssize_t y1,
00067                       double infinity_replacement,
00068                       FILE * stream);
00069   
00070   
00077   void dump_raw_meta(const Grid & grid,
00078                      ssize_t x0, ssize_t y0, ssize_t x1, ssize_t y1,
00079                      FILE * stream);
00080   
00087   void dump_raw(const FacadeReadInterface & facade,
00088                 FILE * value_stream,
00089                 FILE * meta_stream);
00090   
00091   
00093   void dump_queue(const Algorithm & algo, const Grid * grid, size_t limit,
00094                   FILE * stream);
00095   
00096   void dump_queue(const FacadeReadInterface & facade, size_t limit,
00097                   FILE * stream);
00098   
00099   
00100   void dump_grid(const Grid & grid, FILE * stream);
00101   void dump_grid_range(const Grid & grid,
00102                        ssize_t ix0, ssize_t iy0, ssize_t ix1, ssize_t iy1,
00103                        FILE * stream);
00104   void dump_grid_range_highlight(const Grid & grid,
00105                                  ssize_t ix0, ssize_t iy0,
00106                                  ssize_t ix1, ssize_t iy1,
00107                                  ssize_t ixhigh, ssize_t iyhigh,
00108                                  FILE * stream);
00109   void dump_facade_range_highlight(const FacadeReadInterface & facade,
00110                                    ssize_t ix0, ssize_t iy0,
00111                                    ssize_t ix1, ssize_t iy1,
00112                                    ssize_t ixhigh, ssize_t iyhigh,
00113                                    FILE * stream);
00114 
00115   void dump_upwind(const Algorithm & algo, const Grid * grid,
00116                    FILE * stream);
00117     
00118 }
00119 
00120 #endif // ESTAR_DUMP_HPP

doxygen SourceForge.net Logo
E* Interpolated Graph Replanner Wed Dec 12 18:55:40 2007