Weighted graph edge.
More...
|
| typedef std::pair< unsigned, unsigned > | Key |
| | Unique edge key type. More...
|
| |
◆ Key
| typedef std::pair<unsigned, unsigned> Edge::Key |
◆ Edge() [1/5]
◆ Edge() [2/5]
| Edge::Edge |
( |
const VertexIterator & |
A, |
|
|
unsigned |
_nearestPointIndex, |
|
|
float |
_nearestPointSquareDist |
|
) |
| |
|
inline |
◆ Edge() [3/5]
◆ Edge() [4/5]
| Edge::Edge |
( |
const VertexIterator & |
A, |
|
|
unsigned |
_nearestPointIndex, |
|
|
float |
_nearestPointSquareDist |
|
) |
| |
|
inline |
◆ Edge() [5/5]
| Edge::Edge |
( |
unsigned |
v1, |
|
|
unsigned |
v2, |
|
|
float |
weight |
|
) |
| |
|
inline |
Default constructor.
References m_weight.
◆ ConstructKey()
| static Key Edge::ConstructKey |
( |
unsigned |
v1, |
|
|
unsigned |
v2 |
|
) |
| |
|
inlinestatic |
◆ operator<() [1/3]
| bool Edge::operator< |
( |
const Edge & |
e | ) |
const |
|
inline |
◆ operator<() [2/3]
| bool Edge::operator< |
( |
const Edge & |
e | ) |
const |
|
inline |
◆ operator<() [3/3]
| bool Edge::operator< |
( |
const Edge & |
other | ) |
const |
|
inline |
Strict weak ordering operator (required by std::priority_queue)
References m_weight.
◆ v1()
| const unsigned& Edge::v1 |
( |
| ) |
const |
|
inline |
◆ v2()
| const unsigned& Edge::v2 |
( |
| ) |
const |
|
inline |
◆ itA
◆ m_key
Unique key.
Referenced by v1(), and v2().
◆ m_weight
◆ nearestPointIndex
| unsigned Edge::nearestPointIndex |
◆ nearestPointSquareDist
| float Edge::nearestPointSquareDist |
The documentation for this class was generated from the following files: