00001 #ifndef CAJUN_SEARCH_GRID_H 00002 #define CAJUN_SEARCH_GRID_H 00003 00004 00005 #include "grid.H" 00006 00007 00008 #include <float.h> 00009 00010 00011 namespace cajun 00012 { 00013 00014 00015 struct search_cell_t 00016 { 00017 static float const BLOCKED_CELL = FLT_MAX; 00018 00019 search_cell_t () : sequence (0) {} 00020 00021 unsigned sequence; 00022 float cost; 00023 00024 unsigned bi; 00025 unsigned ei; 00026 }; 00027 00028 00029 typedef grid_t<search_cell_t> search_grid_t; 00030 00031 00032 }; 00033 00034 00035 #endif
1.6.1