Conscience Core
CscGrid.h
Go to the documentation of this file.
1 #ifndef CscGrid_hpp
2 #define CscGrid_hpp
3 
4 #include "Axiomes/Csc3dTypes.h"
5 
6 #include <vector>
7 
8 using std::vector;
9 using namespace conscience_core::axiomes;
10 
11 typedef int vertex_t;
12 typedef double weight_t;
13 
14 struct neighbor {
17  neighbor(vertex_t arg_target, weight_t arg_weight)
18  : target(arg_target), weight(arg_weight) { }
19 };
20 
21 class CscGrid{
22 public:
23  vector<CscPoint3dOriented *> * bestPath = new vector<CscPoint3dOriented *>();
24  vector<CscPoint3d *> * targetPoints = new vector<CscPoint3d *>();
25  CscGrid(int depth, int width, int height);
26 };
27 
28 
29 #endif /* CscGrid_hpp */
neighbor::target
vertex_t target
Definition: CscGrid.h:15
vertex_t
int vertex_t
Definition: CscGrid.h:11
conscience_core::axiomes
Definition: Csc2dTypes.cpp:9
neighbor
Definition: CscGrid.h:14
CscGrid
Definition: CscGrid.h:21
neighbor::neighbor
neighbor(vertex_t arg_target, weight_t arg_weight)
Definition: CscGrid.h:17
Csc3dTypes.h
weight_t
double weight_t
Definition: CscGrid.h:12
neighbor::weight
weight_t weight
Definition: CscGrid.h:16