Parasol Planning Library (PPL)
ShortcuttingPathModifier.h
Go to the documentation of this file.
1 #ifndef SHORT_CUTTING_PATH_MODIFIER_H_
2 #define SHORT_CUTTING_PATH_MODIFIER_H_
3 
4 #include "PathModifierMethod.h"
5 
12 
13  public:
14 
16  typedef typename RoadmapType::VID VID;
17 
18  ShortcuttingPathModifier(const string& _dmLabel = "",
19  const string& _lpLabel = "");
21 
22  virtual void ParseXML(XMLNode& _node);
23  virtual void Print(ostream& _os) const;
24 
25  bool ModifyImpl(RoadmapType* _graph, std::vector<Cfg>& _path, std::vector<Cfg>& _newPath) override;
26 
27  private:
28  string m_lpLabel; // Local planner
29 };
30 
31 #endif
32 
Definition: GenericStateGraph.h:67
STAPLGraph::vertex_descriptor VID
Definition: GenericStateGraph.h:83
Base algorithm abstraction for PathModifiers.
Definition: PathModifierMethod.h:15
Definition: ShortcuttingPathModifier.h:11
virtual void Print(ostream &_os) const
Definition: ShortcuttingPathModifier.cpp:30
virtual void ParseXML(XMLNode &_node)
Definition: ShortcuttingPathModifier.cpp:23
MPBaseObject::RoadmapType RoadmapType
Definition: ShortcuttingPathModifier.h:15
RoadmapType::VID VID
Definition: ShortcuttingPathModifier.h:16
bool ModifyImpl(RoadmapType *_graph, std::vector< Cfg > &_path, std::vector< Cfg > &_newPath) override
Definition: ShortcuttingPathModifier.cpp:39
ShortcuttingPathModifier(const string &_dmLabel="", const string &_lpLabel="")
Definition: ShortcuttingPathModifier.cpp:7
Definition: XMLNode.h:27