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
Layer * getParent () 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
Layer * getSublayer (int l)
const Layer * getSublayer (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}
Layer * parent

Detailed Description

Definition at line 159 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 162 of file XXL.h.

◆ ~Layer()

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

Definition at line 178 of file XXL.h.

Member Function Documentation

◆ addGoalState()

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

Definition at line 277 of file XXL.h.

◆ allocateSublayers()

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

Definition at line 303 of file XXL.h.

◆ connectibleRegion()

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

Definition at line 347 of file XXL.h.

◆ connectibleRegions()

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

Definition at line 342 of file XXL.h.

◆ connectRegion()

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

Definition at line 325 of file XXL.h.

◆ getConnections()

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

Definition at line 247 of file XXL.h.

◆ getExterior() [1/2]

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

Definition at line 242 of file XXL.h.

◆ getExterior() [2/2]

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

Definition at line 237 of file XXL.h.

◆ getGoalStates() [1/2]

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

Definition at line 257 of file XXL.h.

◆ getGoalStates() [2/2]

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

Definition at line 262 of file XXL.h.

◆ getID()

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

Definition at line 200 of file XXL.h.

◆ getLevel()

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

Definition at line 190 of file XXL.h.

◆ getParent()

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

Definition at line 195 of file XXL.h.

◆ getRegion() [1/2]

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

Definition at line 205 of file XXL.h.

◆ getRegion() [2/2]

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

Definition at line 216 of file XXL.h.

◆ getRegionGraph() [1/2]

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

Definition at line 283 of file XXL.h.

◆ getRegionGraph() [2/2]

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

Definition at line 288 of file XXL.h.

◆ getSelections()

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

Definition at line 252 of file XXL.h.

◆ getSublayer() [1/2]

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

Definition at line 293 of file XXL.h.

◆ getSublayer() [2/2]

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

Definition at line 298 of file XXL.h.

◆ getWeights() [1/2]

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

Definition at line 232 of file XXL.h.

◆ getWeights() [2/2]

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

Definition at line 227 of file XXL.h.

◆ hasSublayers()

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

Definition at line 312 of file XXL.h.

◆ leadAppearances()

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

Definition at line 352 of file XXL.h.

◆ markLead()

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

Definition at line 362 of file XXL.h.

◆ numGoalStates() [1/2]

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

Definition at line 267 of file XXL.h.

◆ numGoalStates() [2/2]

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

Definition at line 272 of file XXL.h.

◆ numLeads()

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

Definition at line 357 of file XXL.h.

◆ numRegions()

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

Definition at line 185 of file XXL.h.

◆ selectRegion()

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

Definition at line 317 of file XXL.h.

◆ totalConnections()

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

Definition at line 337 of file XXL.h.

◆ totalSelections()

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

Definition at line 332 of file XXL.h.

Member Data Documentation

◆ connectionPoints

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

Definition at line 378 of file XXL.h.

◆ connections

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

Definition at line 373 of file XXL.h.

◆ exterior

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

Definition at line 372 of file XXL.h.

◆ goalStates

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

Definition at line 377 of file XXL.h.

◆ id

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

Definition at line 385 of file XXL.h.

◆ leads

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

Definition at line 376 of file XXL.h.

◆ level

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

Definition at line 382 of file XXL.h.

◆ numConnections

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

Definition at line 384 of file XXL.h.

◆ numSelections

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

Definition at line 383 of file XXL.h.

◆ numTotalLeads

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

Definition at line 387 of file XXL.h.

◆ parent

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

Definition at line 388 of file XXL.h.

◆ regionGraph

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

Definition at line 380 of file XXL.h.

◆ regions

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

Definition at line 370 of file XXL.h.

◆ selections

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

Definition at line 375 of file XXL.h.

◆ sublayers

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

Definition at line 381 of file XXL.h.

◆ totalGoalStates

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

Definition at line 386 of file XXL.h.

◆ weights

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

Definition at line 371 of file XXL.h.


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