best_path.h
Go to the documentation of this file.
1 
18 #ifndef BESTPATHNORMALIZATION_H
19 #define BESTPATHNORMALIZATION_H
20 
23 {
25 {
26 public:
27  BestPath(std::string database_filename);
28  ~BestPath();
29  AttributedPointCloud predictUnfoundPoses(ISM::PosePtr &reference_pose, std::string pattern_name, double percentage_of_records_for_prediction);
30 
31 private:
32  typedef std::map<IsmObject, PathWithScore> BestPathMap;
33 
34  /* ----------------- Private members ------------------ */
35  BestPathMap best_path_map_;
36 
37  /* ----------------- Functions ------------------ */
38  void createBestPathMap(std::string type, IsmObjects predecessors);
39  void createAttributedPointCloud(ISM::PosePtr reference_pose_ptr, double percentage_of_records_for_prediction);
40 
41  double calculatePathScore(IsmObjects path);
42 
43  /* ----------------- Debug Functions ------------------ */
44  void printBestPaths();
45 };
47 
48 }
49 
50 #endif // BESTPATHNORMALIZATION_H
double calculatePathScore(IsmObjects path)
Definition: best_path.cpp:116
AttributedPointCloud predictUnfoundPoses(ISM::PosePtr &reference_pose, std::string pattern_name, double percentage_of_records_for_prediction)
predictUnfoundPoses Processes the following steps for each object in the objectpattern set...
Definition: best_path.cpp:32
std::map< IsmObject, PathWithScore > BestPathMap
Definition: best_path.h:32
SharedPtr< BestPath > BestPathPtr
Definition: best_path.h:46
void createBestPathMap(std::string type, IsmObjects predecessors)
Definition: best_path.cpp:51
BestPath(std::string database_filename)
Definition: best_path.cpp:23
void createAttributedPointCloud(ISM::PosePtr reference_pose_ptr, double percentage_of_records_for_prediction)
Definition: best_path.cpp:100
std::vector< IsmObject > IsmObjects
asr_msgs::AsrAttributedPointCloud AttributedPointCloud
Definition: typedef.h:37


asr_lib_pose_prediction_ism
Author(s): Heizmann Heinrich, Heller Florian, Meißner Pascal, Stöckle Patrick
autogenerated on Thu Jan 9 2020 07:19:56