Class Syclop::Region

Nested Relationships

This class is a nested type of Class Syclop.

Class Documentation

class Region

Representation of a region in the Decomposition assigned to Syclop.

Public Functions

Region() = default
virtual ~Region() = default
Region(const Region&) = default
Region &operator=(const Region&) = default
Region(Region&&) = default
Region &operator=(Region&&) = default
inline void clear()

Clears motions and coverage information from this region.

Public Members

std::set<int> covGridCells

The cells of the underlying coverage grid that contain tree motions from this region.

std::vector<Motion*> motions

The tree motions contained in this region.

double volume

The volume of this region.

double freeVolume

The free volume of this region.

double percentValidCells

The percent of free volume of this region.

double weight

The probabilistic weight of this region, used when sampling from PDF.

double alpha

The coefficient contributed by this region to edge weights in lead computations.

int index

The index of the graph node corresponding to this region.

unsigned int numSelections

The number of times this region has been selected for expansion.

PDF<int>::Element *pdfElem

The Element corresponding to this region in the PDF of available regions.