ompl::base::MaximizeClearanceValidStateSampler Class Reference

Generate valid samples randomly, but with a bias towards higher clearance. More...

#include <MaximizeClearanceValidStateSampler.h>

Inheritance diagram for ompl::base::MaximizeClearanceValidStateSampler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

unsigned int getNrImproveAttempts (void) const
 Get the number of attempts to improve a sampled state.
 MaximizeClearanceValidStateSampler (const SpaceInformation *si)
 Constructor.
virtual bool sample (State *state)
 Sample a state. Return false in case of failure.
virtual bool sampleNear (State *state, const State *near, const double distance)
 Sample a state near another, within specified distance. Return false, in case of failure.
void setNrImproveAttempts (unsigned int attempts)
 The number of attempts at improving the clearance of the sampled state.
virtual ~MaximizeClearanceValidStateSampler (void)

Protected Attributes

unsigned int improveAttempts_
 Number of attempts to improve a valid sample.
StateSamplerPtr sampler_
 The sampler to build upon.

Private Attributes

Statework_
 Temporary work area.

Detailed Description

Generate valid samples randomly, but with a bias towards higher clearance.

Definition at line 50 of file MaximizeClearanceValidStateSampler.h.


Constructor & Destructor Documentation

ompl::base::MaximizeClearanceValidStateSampler::MaximizeClearanceValidStateSampler ( const SpaceInformation si  ) 

Constructor.

virtual ompl::base::MaximizeClearanceValidStateSampler::~MaximizeClearanceValidStateSampler ( void   )  [virtual]

Member Function Documentation

unsigned int ompl::base::MaximizeClearanceValidStateSampler::getNrImproveAttempts ( void   )  const [inline]

Get the number of attempts to improve a sampled state.

Definition at line 70 of file MaximizeClearanceValidStateSampler.h.

virtual bool ompl::base::MaximizeClearanceValidStateSampler::sample ( State state  )  [virtual]

Sample a state. Return false in case of failure.

Implements ompl::base::ValidStateSampler.

virtual bool ompl::base::MaximizeClearanceValidStateSampler::sampleNear ( State state,
const State near,
const double  distance 
) [virtual]

Sample a state near another, within specified distance. Return false, in case of failure.

Note:
The memory for near must be disjoint from the memory for state

Implements ompl::base::ValidStateSampler.

void ompl::base::MaximizeClearanceValidStateSampler::setNrImproveAttempts ( unsigned int  attempts  )  [inline]

The number of attempts at improving the clearance of the sampled state.

Definition at line 64 of file MaximizeClearanceValidStateSampler.h.


Member Data Documentation

Number of attempts to improve a valid sample.

Definition at line 81 of file MaximizeClearanceValidStateSampler.h.

The sampler to build upon.

Definition at line 78 of file MaximizeClearanceValidStateSampler.h.

Temporary work area.

Definition at line 85 of file MaximizeClearanceValidStateSampler.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


ompl
Author(s): Ioan Sucan/isucan@rice.edu, Mark Moll/mmoll@rice.edu, Lydia Kavraki/kavraki@rice.edu
autogenerated on Fri Jan 11 09:33:59 2013