random_path.h
Go to the documentation of this file.
1 
18 #ifndef RANDOMPATHNORMALIZATION_H
19 #define RANDOMPATHNORMALIZATION_H
20 
22 
23 namespace pose_prediction_ism
24 {
26 {
27 public:
28  RandomPath(std::string database_filename);
29  ~RandomPath();
30  AttributedPointCloud predictUnfoundPoses(ISM::PosePtr &reference_pose, std::string pattern_name, double percentage_of_records_for_prediction);
31 
32 private:
33  typedef std::vector<double> Slots;
34  typedef std::map<IsmObject , Slots> SlotsMap;
35  typedef std::vector<PathWithScore> PathsWithScores;
36  typedef std::map<IsmObject , PathsWithScores> PathsWithScoresMap;
37 
38  /* ----------------- Private members ------------------ */
39  PathsWithScoresMap paths_with_scores_map_;
40  SlotsMap slots_map_;
41 
42  /* ----------------- Functions ------------------ */
43  void createPathsWithScoresMap(std::string type, IsmObjects predecessors);
44  void createAttributedPointCloud(ISM::PosePtr reference_pose_ptr, double percentage_of_records_for_prediction);
45  void createSlotsMap();
46  double calculatePathScore(IsmObjects path);
47 };
49 
50 }
51 
52 
53 
54 #endif // RANDOMPATHNORMALIZATION_H
std::map< IsmObject, Slots > SlotsMap
Definition: random_path.h:34
std::map< IsmObject, PathsWithScores > PathsWithScoresMap
Definition: random_path.h:36
void createAttributedPointCloud(ISM::PosePtr reference_pose_ptr, double percentage_of_records_for_prediction)
Definition: random_path.cpp:87
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: random_path.cpp:30
std::vector< PathWithScore > PathsWithScores
Definition: random_path.h:35
double calculatePathScore(IsmObjects path)
RandomPath(std::string database_filename)
Definition: random_path.cpp:21
PathsWithScoresMap paths_with_scores_map_
Definition: random_path.h:39
std::vector< IsmObject > IsmObjects
std::vector< double > Slots
Definition: random_path.h:33
SharedPtr< RandomPath > RandomPathPtr
Definition: random_path.h:48
void createPathsWithScoresMap(std::string type, IsmObjects predecessors)
Definition: random_path.cpp:45
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:57