SM_PathSmoothingRandomNodePair Class Reference

#include <smoothers/SM_PathSmoothingRandomNodePair.h>

Inherits SmootherBase.

Inherited by SM_SuccessiveAndRandomSmoothing.

Inheritance diagram for SM_PathSmoothingRandomNodePair:

Inheritance graph
[legend]
Collaboration diagram for SM_PathSmoothingRandomNodePair:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SM_PathSmoothingRandomNodePair ()
virtual ~SM_PathSmoothingRandomNodePair ()
virtual void Smooth ()

Protected Member Functions

double Distance (const Configuration &conf1, const Configuration &conf2) const
int Random (const int min, const int max) const
void UpdatePoints (const int index1, const int index2)

Protected Attributes

std::vector< Configurationm_Points

Detailed Description

Definition at line 8 of file SM_PathSmoothingRandomNodePair.h.


Constructor & Destructor Documentation

SM_PathSmoothingRandomNodePair::SM_PathSmoothingRandomNodePair  ) 
 

Definition at line 10 of file SM_PathSmoothingRandomNodePair.cpp.

SM_PathSmoothingRandomNodePair::~SM_PathSmoothingRandomNodePair  )  [virtual]
 

Definition at line 21 of file SM_PathSmoothingRandomNodePair.cpp.


Member Function Documentation

double SM_PathSmoothingRandomNodePair::Distance const Configuration conf1,
const Configuration conf2
const [protected]
 

Definition at line 95 of file SM_PathSmoothingRandomNodePair.cpp.

References CD_JointLimits::DistanceBetween(), and SmootherBase::m_CollisionDetector.

Here is the call graph for this function:

int SM_PathSmoothingRandomNodePair::Random const int  min,
const int  max
const [protected]
 

Definition at line 100 of file SM_PathSmoothingRandomNodePair.cpp.

void SM_PathSmoothingRandomNodePair::Smooth  )  [virtual]
 

Implements SmootherBase.

Reimplemented in SM_SuccessiveAndRandomSmoothing.

Definition at line 30 of file SM_PathSmoothingRandomNodePair.cpp.

References PA_Points::AppendPoint(), PA_Points::Clear(), SmootherBase::m_PathToSmooth, m_Points, SmootherBase::m_SmoothedPath, and PA_Points::Size().

Here is the call graph for this function:

void SM_PathSmoothingRandomNodePair::UpdatePoints const int  index1,
const int  index2
[protected]
 

Definition at line 105 of file SM_PathSmoothingRandomNodePair.cpp.

References m_Points.


Member Data Documentation

std::vector<Configuration> SM_PathSmoothingRandomNodePair::m_Points [protected]
 

Definition at line 21 of file SM_PathSmoothingRandomNodePair.h.

Referenced by SM_SuccessiveAndRandomSmoothing::PathSmoothing(), Smooth(), and UpdatePoints().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 22:04:44 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO