Parasol Planning Library (PPL)
HierarchicalLP.h
Go to the documentation of this file.
1 #ifndef HIERARCHICAL_LP_H_
2 #define HIERARCHICAL_LP_H_
3 
4 #include "LPOutput.h"
5 #include "LocalPlannerMethod.h"
6 
15 class HierarchicalLP : virtual public LocalPlannerMethod {
16  public:
19 
21 
24 
25  HierarchicalLP(const vector<string>& _lpLabels = vector<string>(),
26  bool _saveIntermediates = false);
27 
28  HierarchicalLP(XMLNode& _node);
29 
33 
34  virtual void Print(ostream& _os) const;
35 
36  virtual bool IsConnected(const Cfg& _c1,
37  const Cfg& _c2,
38  Cfg& _col,
39  LPOutput* _lpOutput,
40  double _posRes,
41  double _oriRes,
42  bool _checkCollision = true,
43  bool _savePath = false);
44 
46 
47  private:
50 
51  std::vector<string> m_lpLabels;
52 
54 };
55 
56 #endif
Definition: Cfg.h:38
Definition: Weight.h:36
Apply a sequence of local planners until one succeeds, or all fail.
Definition: HierarchicalLP.h:15
virtual void Print(ostream &_os) const
Definition: HierarchicalLP.cpp:20
HierarchicalLP(const vector< string > &_lpLabels=vector< string >(), bool _saveIntermediates=false)
Definition: HierarchicalLP.cpp:7
MPBaseObject::WeightType WeightType
Definition: HierarchicalLP.h:20
virtual bool IsConnected(const Cfg &_c1, const Cfg &_c2, Cfg &_col, LPOutput *_lpOutput, double _posRes, double _oriRes, bool _checkCollision=true, bool _savePath=false)
Definition: HierarchicalLP.cpp:28
Definition: LocalPlannerMethod.h:32
Definition: XMLNode.h:27
Definition: LPOutput.h:24