Parasol Planning Library (PPL)
BinaryLPSweptDistance.h
Go to the documentation of this file.
1 #ifndef PMPL_BINARY_LP_SWEPT_DISTANCE_H_
2 #define PMPL_BINARY_LP_SWEPT_DISTANCE_H_
3 
4 #include "LPSweptDistance.h"
5 
6 
14 class BinaryLPSweptDistance : virtual public LPSweptDistance {
15 
16  public:
17 
20 
21 
22 
26 
27  BinaryLPSweptDistance(string _lp = "sl", double _posRes = .1,
28  double _oriRes = .1, double _tolerance = .01, int _maxAttempts = 100,
29  bool _bbox = false);
31 
35 
36  virtual void Print(ostream& _os) const override;
37 
41 
42  virtual double Distance(const Cfg& _c1, const Cfg& _c2) override;
43 
45 
46  private:
47 
50 
51  double m_tolerance;
52  int m_maxAttempts;
53 
55 };
56 
57 #endif
Definition: BinaryLPSweptDistance.h:14
virtual double Distance(const Cfg &_c1, const Cfg &_c2) override
Definition: BinaryLPSweptDistance.cpp:38
virtual void Print(ostream &_os) const override
Definition: BinaryLPSweptDistance.cpp:28
BinaryLPSweptDistance(string _lp="sl", double _posRes=.1, double _oriRes=.1, double _tolerance=.01, int _maxAttempts=100, bool _bbox=false)
Definition: BinaryLPSweptDistance.cpp:7
Definition: Cfg.h:38
Definition: LPSweptDistance.h:15
Definition: XMLNode.h:27