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});
size_t size() const noexcept
Count the number of elements of the list.
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)
DynList< T > maps(const C &c, Op op)
Classic map operation.
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.