PRM.h
Go to the documentation of this file.
00001 //-*- C++ -*-
00002 #ifndef __PRM_H__
00003 #define __PRM_H__
00004 
00005 #include <vector>
00006 #include <stack>
00007 #include <queue>
00008 #include <math.h>
00009 
00010 #include "Algorithm.h"
00011 #include "PathPlanner.h"
00012 
00013 namespace PathEngine {
00014   class RoadmapNode;
00015 
00019   class PRM : public Algorithm {
00020   private:
00021     // 近傍ノードの上限
00022     unsigned long maxNeighbors_;
00023 
00024     // 最大の点数
00025     unsigned long maxPoints_;
00026 
00027     // ランダムに選んだ点からの選ばれるノードの範囲
00028     double maxDist_;
00029 
00034     bool buildRoadmap();
00035     
00036   public:
00041     PRM(PathPlanner* planner);
00042 
00046     virtual ~PRM();
00047 
00051     bool calcPath();
00052   };
00053 };
00054 
00055 #endif // __PRM_H__


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:19