ompl::geometric::SPARSdb::edgeWeightMap Class Reference

#include <ompl/tools/thunder/SPARSdb.h>

Inheritance diagram for ompl::geometric::SPARSdb::edgeWeightMap:

Public Types

using key_type = Edge
 
using value_type = double
 
using reference = double &
 
using category = boost::readable_property_map_tag
 

Public Member Functions

 edgeWeightMap (const Graph &graph, const EdgeCollisionStateMap &collisionStates)
 
double get (Edge e) const
 

Detailed Description

Used to artifically supress edges during A* search.

Definition at line 406 of file SPARSdb.h.

Member Typedef Documentation

◆ category

using ompl::geometric::SPARSdb::edgeWeightMap::category = boost::readable_property_map_tag

Map type.

Definition at line 420 of file SPARSdb.h.

◆ key_type

Map key type.

Definition at line 414 of file SPARSdb.h.

◆ reference

Map auxiliary value type.

Definition at line 418 of file SPARSdb.h.

◆ value_type

Map value type.

Definition at line 416 of file SPARSdb.h.

Constructor & Destructor Documentation

◆ edgeWeightMap()

ompl::geometric::SPARSdb::edgeWeightMap::edgeWeightMap ( const Graph graph,
const EdgeCollisionStateMap collisionStates 
)

Construct map for certain constraints.

Parameters
graphGraph to use

Definition at line 60 of file SPARSdb.cpp.

Member Function Documentation

◆ get()

double ompl::geometric::SPARSdb::edgeWeightMap::get ( Edge  e) const

Get the weight of an edge.

Parameters
ethe edge
Returns
infinity if e lies in a forbidden neighborhood; actual weight of e otherwise

Definition at line 65 of file SPARSdb.cpp.


The documentation for this class was generated from the following files: