Represents an undirected edge.
More...
#include <dai/weightedgraph.h>
|
std::ostream & | operator<< (std::ostream &os, const UEdge &e) |
| Writes an undirected edge to an output stream. More...
|
|
Represents an undirected edge.
dai::UEdge::UEdge |
( |
size_t |
m1, |
|
|
size_t |
m2 |
|
) |
| |
|
inline |
Constructs an undirected edge between m1 and m2.
dai::UEdge::UEdge |
( |
const DEdge & |
e | ) |
|
|
inline |
bool dai::UEdge::operator== |
( |
const UEdge & |
x | ) |
|
|
inline |
Tests for inequality (disregarding the ordering of the nodes)
bool dai::UEdge::operator< |
( |
const UEdge & |
x | ) |
const |
|
inline |
std::string dai::UEdge::toString |
( |
| ) |
const |
|
inline |
Formats an undirected edge as a string.
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const UEdge & |
e |
|
) |
| |
|
friend |
Writes an undirected edge to an output stream.
size_t dai::UEdge::second |
The documentation for this class was generated from the following file: