1#include <gtest/gtest.h>
16 return c1.key ==
c2.key;
53 Clave c = {42, 10, 5};
85 for (
int i = 0; i < 10; ++i)
87 for (
int j = 0; j < 10; ++j)
111 Clave c = {10, 5, -1};
118 Clave c = {1000, 1000000, 500000};
128 std::vector<Clave>
claves;
130 for (
int i = 0; i < 50; ++i)
131 claves.push_back({i, i * 10, i * 5});
133 for (
size_t i = 0; i <
claves.size(); ++i)
137 if (i + 1 <
claves.size())
Forward declaration used by CRTP helpers before the full node definition.
T & get_key() noexcept
Returns a modifiable reference to the node contents.
TEST_F(GenerateDfTreeTest, ClaveStructure)
int cmp(const __gmp_expr< T, U > &expr1, const __gmp_expr< V, W > &expr2)
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
Equality comparator for Clave structures.
bool operator()(const Clave &c1, const Clave &c2) const
Key structure for DFS tree nodes.
int key
Original node identifier.
long count
DFS discovery number (pre-order)
long low
Low-link value (minimum reachable via back edges)
General tree (n-ary tree) node.