MCPcopy Create free account
hub / github.com/BirolLab/abyss / DisallowParallelEdges

Class DisallowParallelEdges

Graph/GraphIO.h:85–93  ·  view source on GitHub ↗

Disallow parallel edges. */

Source from the content-addressed store, hash-verified

83
84/** Disallow parallel edges. */
85struct DisallowParallelEdges {
86 template <typename EP>
87 EP operator()(const EP& a, const EP& b) const
88 {
89 std::cerr << "error: parallel edges:"
90 " [" << a << "], [" << b << "]\n";
91 exit(EXIT_FAILURE);
92 }
93};
94
95/** Read a graph. */
96template <typename Graph>

Callers 4

mainFunction · 0.85
GraphIO.hFile · 0.85
mainFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68