Buran Motion Planning Framework
optimize_path_median.h
1 #pragma once
2 
3 
4 #include <vector>
5 #include "optimize_path.h"
6 
7 
8 namespace bmpf {
13  public:
14 
20  std::vector<std::vector<double>> optimizePath(std::vector<std::vector<double>> path) override;
21 
22 
32  explicit MedianPathOptimizer(
33  std::shared_ptr<bmpf::PathFinder> pf, const std::string &optimizeMethod, int checkCnt,
34  int divideCnt, int optimizeLoopCnt
35  );
36 
37  private:
41  int _checkCnt;
46  int _divideCnt;
50  int _optimizeLoopCnt;
51  };
52 }
53 
bmpf::MedianPathOptimizer::MedianPathOptimizer
MedianPathOptimizer(std::shared_ptr< bmpf::PathFinder > pf, const std::string &optimizeMethod, int checkCnt, int divideCnt, int optimizeLoopCnt)
Definition: optimize_path_median.cpp:43
bmpf::MedianPathOptimizer::optimizePath
std::vector< std::vector< double > > optimizePath(std::vector< std::vector< double >> path) override
Definition: optimize_path_median.cpp:10
bmpf::PathOptimizer
Definition: optimize_path.h:12
bmpf::MedianPathOptimizer
Definition: optimize_path_median.h:12