|
seams-core v2.15.0
libyodaLib, the C++ engine of d-SEAMS
|
Candidate rings, shortcut paths and hexagon pairs of one graph. More...
#include <src/include/internal/smooth_cv.hpp>
Classes | |
| struct | HexPair |
| Two vertex-disjoint candidate hexagons a < b that may pass the HC basal test. More... | |
Public Member Functions | |
| int | ringCount () const |
| int | ringSize (int k) const |
| int | edgeOf (int i, int j) const |
| Edge id of the pair (i, j), or -1. | |
Public Attributes | |
| int | nAtoms = 0 |
| int | maxRing = 0 |
| std::vector< std::array< int, 2 > > | edges |
| std::vector< int > | adjOff |
| std::vector< int > | adjAtom |
| std::vector< int > | adjEdge |
| std::vector< int > | ringOff {0} |
| std::vector< int > | ringAtoms |
| std::vector< int > | ringEdges |
| std::vector< int > | pathOff {0} |
| std::vector< int > | pathEdgeOff {0} |
| std::vector< int > | pathEdges |
| std::vector< HexPair > | hexPairs |
Candidate rings, shortcut paths and hexagon pairs of one graph.
Fixed between neighbour-list rebuilds. Edge e joins edges[e][0] < edges[e][1]. Ring k lists its members in ringAtoms[ringOff[k] .. ringOff[k + 1]], in cycle order from its lowest index toward the lesser of that member's ring neighbours, and the edge from member t to member t + 1 (cyclically) in ringEdges at the same offsets. The shortcut paths of ring k are paths pathOff[k] .. pathOff[k + 1]; path p is the edge list pathEdges[pathEdgeOff[p] .. pathEdgeOff[p + 1]].
Definition at line 144 of file smooth_cv.hpp.
|
nodiscard |
Edge id of the pair (i, j), or -1.
|
inlinenodiscard |
Definition at line 168 of file smooth_cv.hpp.
|
inlinenodiscard |
Definition at line 169 of file smooth_cv.hpp.
| std::vector<int> smooth::Topology::adjAtom |
Definition at line 149 of file smooth_cv.hpp.
| std::vector<int> smooth::Topology::adjEdge |
Definition at line 150 of file smooth_cv.hpp.
| std::vector<int> smooth::Topology::adjOff |
Definition at line 148 of file smooth_cv.hpp.
| std::vector<std::array<int, 2> > smooth::Topology::edges |
Definition at line 147 of file smooth_cv.hpp.
| std::vector<HexPair> smooth::Topology::hexPairs |
Definition at line 166 of file smooth_cv.hpp.
| int smooth::Topology::maxRing = 0 |
Definition at line 146 of file smooth_cv.hpp.
| int smooth::Topology::nAtoms = 0 |
Definition at line 145 of file smooth_cv.hpp.
| std::vector<int> smooth::Topology::pathEdgeOff {0} |
Definition at line 155 of file smooth_cv.hpp.
| std::vector<int> smooth::Topology::pathEdges |
Definition at line 156 of file smooth_cv.hpp.
| std::vector<int> smooth::Topology::pathOff {0} |
Definition at line 154 of file smooth_cv.hpp.
| std::vector<int> smooth::Topology::ringAtoms |
Definition at line 152 of file smooth_cv.hpp.
| std::vector<int> smooth::Topology::ringEdges |
Definition at line 153 of file smooth_cv.hpp.
| std::vector<int> smooth::Topology::ringOff {0} |
Definition at line 151 of file smooth_cv.hpp.