RobWorkProject
24.12.4-
|
ARWExpand expands a random walk in the configuration space by one step. More...
#include <ARWExpand.hpp>
Public Types | |
typedef rw::core::Ptr< ARWExpand > | Ptr |
smart pointer type to this class | |
Public Member Functions | |
bool | expand () |
Expand the path by one step and return true if a new configuration was added to the path. More... | |
ARWExpand::Ptr | duplicate (const rw::math::Q &start) const |
Construct a new random walk with start node at start. | |
virtual | ~ARWExpand () |
Destructor. | |
const rw::trajectory::QPath & | getPath () const |
The current path of the random walk. | |
Static Public Member Functions | |
static ARWExpand::Ptr | make (const rw::models::Device::QBox &bounds, const rw::pathplanning::PlannerConstraint &constraint, const rw::math::Q &minVariances=rw::math::Q(), int historySize=-1) |
Constructor. More... | |
Protected Member Functions | |
ARWExpand () | |
Constructor. | |
virtual bool | doExpand ()=0 |
Subclass implementation of the expand() method. More... | |
virtual ARWExpand::Ptr | doDuplicate (const rw::math::Q &start) const =0 |
Subclass implementation of the duplicate() method. | |
Protected Attributes | |
rw::trajectory::QPath | _path |
The path of random walk. | |
ARWExpand expands a random walk in the configuration space by one step.