Class Syclop::Adjacency

Nested Relationships

This class is a nested type of Class Syclop.

Class Documentation

class Adjacency

Representation of an adjacency (a directed edge) between two regions in the Decomposition assigned to Syclop.

Public Functions

Adjacency() = default
virtual ~Adjacency() = default
inline void clear()

Clears coverage information from this adjacency.

Public Members

std::set<int> covGridCells = {}

The cells of the underlying coverage grid that contain tree motions originating from direct connections along this adjacency.

const Region *source = {nullptr}

The source region of this adjacency edge.

const Region *target = {nullptr}

The target region of this adjacency edge.

double cost = {0.}

The cost of this adjacency edge, used in lead computations.

int numLeadInclusions = {0}

The number of times this adjacency has been included in a lead.

int numSelections = {0}

The number of times the low-level tree planner has selected motions from the source region when attempting to extend the tree toward the target region.

bool empty = {false}

This value is true if and only if this adjacency’s source and target regions both contain zero tree motions.