#include <BFS_3D.h>
Public Member Functions | |
BFS_3D (int, int, int) | |
void | getDimensions (int *, int *, int *) |
int | getDistance (int, int, int) |
bool | isWall (int, int, int) |
void | run (int, int, int) |
void | setWall (int, int, int) |
~BFS_3D () | |
Private Member Functions | |
int | getNode (int, int, int) |
void | search (int, int, int volatile *, int *, int &, int &) |
Private Attributes | |
int | dim_x |
int | dim_xy |
int | dim_xyz |
int | dim_y |
int | dim_z |
int volatile * | distance_grid |
int | origin |
int * | queue |
int | queue_head |
int | queue_tail |
volatile bool | running |
boost::shared_ptr< boost::thread > | search_thread_ |
sbpl_interface::BFS_3D::BFS_3D | ( | int | width, |
int | height, | ||
int | length | ||
) |
Definition at line 13 of file BFS_3D.cpp.
Definition at line 40 of file BFS_3D.cpp.
void sbpl_interface::BFS_3D::getDimensions | ( | int * | width, |
int * | height, | ||
int * | length | ||
) |
Definition at line 50 of file BFS_3D.cpp.
int sbpl_interface::BFS_3D::getDistance | ( | int | x, |
int | y, | ||
int | z | ||
) |
Definition at line 93 of file BFS_3D.cpp.
int sbpl_interface::BFS_3D::getNode | ( | int | x, |
int | y, | ||
int | z | ||
) | [inline, private] |
Definition at line 5 of file BFS_3D.cpp.
bool sbpl_interface::BFS_3D::isWall | ( | int | x, |
int | y, | ||
int | z | ||
) |
Definition at line 66 of file BFS_3D.cpp.
void sbpl_interface::BFS_3D::run | ( | int | x, |
int | y, | ||
int | z | ||
) |
Definition at line 71 of file BFS_3D.cpp.
void sbpl_interface::BFS_3D::search | ( | int | width, |
int | planeSize, | ||
int volatile * | distance_grid, | ||
int * | queue, | ||
int & | queue_head, | ||
int & | queue_tail | ||
) | [private] |
Definition at line 14 of file Search.cpp.
void sbpl_interface::BFS_3D::setWall | ( | int | x, |
int | y, | ||
int | z | ||
) |
Definition at line 56 of file BFS_3D.cpp.
int sbpl_interface::BFS_3D::dim_x [private] |
int sbpl_interface::BFS_3D::dim_xy [private] |
int sbpl_interface::BFS_3D::dim_xyz [private] |
int sbpl_interface::BFS_3D::dim_y [private] |
int sbpl_interface::BFS_3D::dim_z [private] |
int volatile* sbpl_interface::BFS_3D::distance_grid [private] |
int sbpl_interface::BFS_3D::origin [private] |
int* sbpl_interface::BFS_3D::queue [private] |
int sbpl_interface::BFS_3D::queue_head [private] |
int sbpl_interface::BFS_3D::queue_tail [private] |
volatile bool sbpl_interface::BFS_3D::running [private] |
boost::shared_ptr<boost::thread> sbpl_interface::BFS_3D::search_thread_ [private] |