Parasol Planning Library (PPL)
|
#include <GroupLPOutput.h>
Public Types | |
Motion Planning Types | |
typedef DefaultWeight< Cfg > | IndividualEdge |
typedef GenericStateGraph< Cfg, IndividualEdge > | RoadmapType |
typedef GroupCfg< RoadmapType > | GroupCfgType |
typedef GroupLocalPlan< RoadmapType > | GroupWeightType |
typedef GroupRoadmap< GroupCfgType, GroupWeightType > | GroupRoadmapType |
typedef std::vector< GroupCfgType > | GroupCfgPath |
Local Types | |
typedef std::pair< GroupWeightType, GroupWeightType > | LPEdge |
Public Member Functions | |
Construction | |
GroupLPOutput (GroupRoadmapType *const _map=nullptr, GroupCfgPath _path=GroupCfgPath(), GroupCfgPath _intermediates=GroupCfgPath()) | |
GroupLPOutput (GroupRoadmapType *const _map, const GroupWeightType &_edge) | |
Interface | |
void | Clear () |
void | SetLPLabel (const std::string &_label) |
void | AddIntermediatesToWeights (const bool _saveIntermediates) |
void | SetFormation (const std::vector< size_t > &_formation) |
void | SetIndividualEdges (const std::vector< size_t > &_formation) |
std::vector< size_t > | GetFormation () |
void | SetEdgeWeights (const double _weight) |
Data Fields | |
Internal State | |
GroupRoadmapType * | m_groupRoadmap {nullptr} |
GroupCfgPath | m_path |
GroupCfgPath | m_intermediates |
LPEdge | m_edge |
Computed information from a local plan.
Stores all information available from local plan computations, including intermediates along edges (not straight line), the path generated, and the edge weights to be added to the RoadmapGraph.
typedef std::vector<GroupCfgType> GroupLPOutput::GroupCfgPath |
typedef std::pair<GroupWeightType, GroupWeightType> GroupLPOutput::LPEdge |
GroupLPOutput::GroupLPOutput | ( | GroupRoadmapType *const | _map = nullptr , |
GroupCfgPath | _path = GroupCfgPath() , |
||
GroupCfgPath | _intermediates = GroupCfgPath() |
||
) |
GroupLPOutput::GroupLPOutput | ( | GroupRoadmapType *const | _map, |
const GroupWeightType & | _edge | ||
) |
void GroupLPOutput::AddIntermediatesToWeights | ( | const bool | _saveIntermediates | ) |
void GroupLPOutput::Clear | ( | ) |
|
inline |
void GroupLPOutput::SetEdgeWeights | ( | const double | _weight | ) |
void GroupLPOutput::SetFormation | ( | const std::vector< size_t > & | _formation | ) |
void GroupLPOutput::SetIndividualEdges | ( | const std::vector< size_t > & | _formation | ) |
void GroupLPOutput::SetLPLabel | ( | const std::string & | _label | ) |
LPEdge GroupLPOutput::m_edge |
GroupRoadmapType* GroupLPOutput::m_groupRoadmap {nullptr} |
GroupCfgPath GroupLPOutput::m_intermediates |
GroupCfgPath GroupLPOutput::m_path |