Loading...
Searching...
No Matches
ompl::geometric::XXL::Layer Class Reference

Public Member Functions

 Layer (int _id, int numRegions, int lvl, Layer *_parent)
 
size_t numRegions () const
 
int getLevel () const
 
LayergetParent () const
 
int getID () const
 
RegiongetRegion (int r)
 
const RegiongetRegion (int r) const
 
const std::vector< double > & getWeights () const
 
std::vector< double > & getWeights ()
 
const std::vector< bool > & getExterior () const
 
std::vector< bool > & getExterior ()
 
const std::vector< int > & getConnections () const
 
const std::vector< int > & getSelections () const
 
const std::vector< std::vector< int > > & getGoalStates () const
 
const std::vector< int > & getGoalStates (int reg) const
 
size_t numGoalStates () const
 
size_t numGoalStates (int reg) const
 
void addGoalState (int reg, int id)
 
AdjacencyListgetRegionGraph ()
 
const AdjacencyListgetRegionGraph () const
 
LayergetSublayer (int l)
 
const LayergetSublayer (int l) const
 
void allocateSublayers ()
 
bool hasSublayers ()
 
void selectRegion (int r, int count=1)
 
void connectRegion (int r)
 
int totalSelections () const
 
int totalConnections () const
 
int connectibleRegions () const
 
int connectibleRegion (int idx) const
 
int leadAppearances (int idx) const
 
int numLeads () const
 
void markLead (const std::vector< int > &lead)
 

Protected Attributes

std::vector< Regionregions
 
std::vector< double > weights
 
std::vector< bool > exterior
 
std::vector< int > connections
 
std::vector< int > selections
 
std::vector< int > leads
 
std::vector< std::vector< int > > goalStates
 
PerfectSet connectionPoints
 
AdjacencyListregionGraph
 
std::vector< Layer * > sublayers
 
int level
 
int numSelections {0}
 
int numConnections {0}
 
int id
 
int totalGoalStates {0}
 
int numTotalLeads {0}
 
Layerparent
 

Detailed Description

Definition at line 152 of file XXL.h.

Constructor & Destructor Documentation

◆ Layer()

ompl::geometric::XXL::Layer::Layer ( int _id,
int numRegions,
int lvl,
Layer * _parent )
inline

Definition at line 155 of file XXL.h.

◆ ~Layer()

ompl::geometric::XXL::Layer::~Layer ( )
inline

Definition at line 171 of file XXL.h.

Member Function Documentation

◆ addGoalState()

void ompl::geometric::XXL::Layer::addGoalState ( int reg,
int id )
inline

Definition at line 270 of file XXL.h.

◆ allocateSublayers()

void ompl::geometric::XXL::Layer::allocateSublayers ( )
inline

Definition at line 296 of file XXL.h.

◆ connectibleRegion()

int ompl::geometric::XXL::Layer::connectibleRegion ( int idx) const
inline

Definition at line 340 of file XXL.h.

◆ connectibleRegions()

int ompl::geometric::XXL::Layer::connectibleRegions ( ) const
inline

Definition at line 335 of file XXL.h.

◆ connectRegion()

void ompl::geometric::XXL::Layer::connectRegion ( int r)
inline

Definition at line 318 of file XXL.h.

◆ getConnections()

const std::vector< int > & ompl::geometric::XXL::Layer::getConnections ( ) const
inline

Definition at line 240 of file XXL.h.

◆ getExterior() [1/2]

std::vector< bool > & ompl::geometric::XXL::Layer::getExterior ( )
inline

Definition at line 235 of file XXL.h.

◆ getExterior() [2/2]

const std::vector< bool > & ompl::geometric::XXL::Layer::getExterior ( ) const
inline

Definition at line 230 of file XXL.h.

◆ getGoalStates() [1/2]

const std::vector< std::vector< int > > & ompl::geometric::XXL::Layer::getGoalStates ( ) const
inline

Definition at line 250 of file XXL.h.

◆ getGoalStates() [2/2]

const std::vector< int > & ompl::geometric::XXL::Layer::getGoalStates ( int reg) const
inline

Definition at line 255 of file XXL.h.

◆ getID()

int ompl::geometric::XXL::Layer::getID ( ) const
inline

Definition at line 193 of file XXL.h.

◆ getLevel()

int ompl::geometric::XXL::Layer::getLevel ( ) const
inline

Definition at line 183 of file XXL.h.

◆ getParent()

Layer * ompl::geometric::XXL::Layer::getParent ( ) const
inline

Definition at line 188 of file XXL.h.

◆ getRegion() [1/2]

Region & ompl::geometric::XXL::Layer::getRegion ( int r)
inline

Definition at line 198 of file XXL.h.

◆ getRegion() [2/2]

const Region & ompl::geometric::XXL::Layer::getRegion ( int r) const
inline

Definition at line 209 of file XXL.h.

◆ getRegionGraph() [1/2]

AdjacencyList & ompl::geometric::XXL::Layer::getRegionGraph ( )
inline

Definition at line 276 of file XXL.h.

◆ getRegionGraph() [2/2]

const AdjacencyList & ompl::geometric::XXL::Layer::getRegionGraph ( ) const
inline

Definition at line 281 of file XXL.h.

◆ getSelections()

const std::vector< int > & ompl::geometric::XXL::Layer::getSelections ( ) const
inline

Definition at line 245 of file XXL.h.

◆ getSublayer() [1/2]

Layer * ompl::geometric::XXL::Layer::getSublayer ( int l)
inline

Definition at line 286 of file XXL.h.

◆ getSublayer() [2/2]

const Layer * ompl::geometric::XXL::Layer::getSublayer ( int l) const
inline

Definition at line 291 of file XXL.h.

◆ getWeights() [1/2]

std::vector< double > & ompl::geometric::XXL::Layer::getWeights ( )
inline

Definition at line 225 of file XXL.h.

◆ getWeights() [2/2]

const std::vector< double > & ompl::geometric::XXL::Layer::getWeights ( ) const
inline

Definition at line 220 of file XXL.h.

◆ hasSublayers()

bool ompl::geometric::XXL::Layer::hasSublayers ( )
inline

Definition at line 305 of file XXL.h.

◆ leadAppearances()

int ompl::geometric::XXL::Layer::leadAppearances ( int idx) const
inline

Definition at line 345 of file XXL.h.

◆ markLead()

void ompl::geometric::XXL::Layer::markLead ( const std::vector< int > & lead)
inline

Definition at line 355 of file XXL.h.

◆ numGoalStates() [1/2]

size_t ompl::geometric::XXL::Layer::numGoalStates ( ) const
inline

Definition at line 260 of file XXL.h.

◆ numGoalStates() [2/2]

size_t ompl::geometric::XXL::Layer::numGoalStates ( int reg) const
inline

Definition at line 265 of file XXL.h.

◆ numLeads()

int ompl::geometric::XXL::Layer::numLeads ( ) const
inline

Definition at line 350 of file XXL.h.

◆ numRegions()

size_t ompl::geometric::XXL::Layer::numRegions ( ) const
inline

Definition at line 178 of file XXL.h.

◆ selectRegion()

void ompl::geometric::XXL::Layer::selectRegion ( int r,
int count = 1 )
inline

Definition at line 310 of file XXL.h.

◆ totalConnections()

int ompl::geometric::XXL::Layer::totalConnections ( ) const
inline

Definition at line 330 of file XXL.h.

◆ totalSelections()

int ompl::geometric::XXL::Layer::totalSelections ( ) const
inline

Definition at line 325 of file XXL.h.

Member Data Documentation

◆ connectionPoints

PerfectSet ompl::geometric::XXL::Layer::connectionPoints
protected

Definition at line 371 of file XXL.h.

◆ connections

std::vector<int> ompl::geometric::XXL::Layer::connections
protected

Definition at line 366 of file XXL.h.

◆ exterior

std::vector<bool> ompl::geometric::XXL::Layer::exterior
protected

Definition at line 365 of file XXL.h.

◆ goalStates

std::vector<std::vector<int> > ompl::geometric::XXL::Layer::goalStates
protected

Definition at line 370 of file XXL.h.

◆ id

int ompl::geometric::XXL::Layer::id
protected

Definition at line 378 of file XXL.h.

◆ leads

std::vector<int> ompl::geometric::XXL::Layer::leads
protected

Definition at line 369 of file XXL.h.

◆ level

int ompl::geometric::XXL::Layer::level
protected

Definition at line 375 of file XXL.h.

◆ numConnections

int ompl::geometric::XXL::Layer::numConnections {0}
protected

Definition at line 377 of file XXL.h.

◆ numSelections

int ompl::geometric::XXL::Layer::numSelections {0}
protected

Definition at line 376 of file XXL.h.

◆ numTotalLeads

int ompl::geometric::XXL::Layer::numTotalLeads {0}
protected

Definition at line 380 of file XXL.h.

◆ parent

Layer* ompl::geometric::XXL::Layer::parent
protected

Definition at line 381 of file XXL.h.

◆ regionGraph

AdjacencyList* ompl::geometric::XXL::Layer::regionGraph
protected

Definition at line 373 of file XXL.h.

◆ regions

std::vector<Region> ompl::geometric::XXL::Layer::regions
protected

Definition at line 363 of file XXL.h.

◆ selections

std::vector<int> ompl::geometric::XXL::Layer::selections
protected

Definition at line 368 of file XXL.h.

◆ sublayers

std::vector<Layer *> ompl::geometric::XXL::Layer::sublayers
protected

Definition at line 374 of file XXL.h.

◆ totalGoalStates

int ompl::geometric::XXL::Layer::totalGoalStates {0}
protected

Definition at line 379 of file XXL.h.

◆ weights

std::vector<double> ompl::geometric::XXL::Layer::weights
protected

Definition at line 364 of file XXL.h.


The documentation for this class was generated from the following file:
  • ompl/geometric/planners/xxl/XXL.h