|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
The filters that the algorithm objects keep. More...
#include <gtest/gtest.h>#include <optional>#include <vector>#include <eulerian.H>#include <hamiltonian.H>#include <single_graph.H>#include <topological_sort.H>#include <tpl_find_path.H>#include <tpl_graph.H>#include <tpl_graph_indexes.H>#include <tpl_test_acyclique.H>Go to the source code of this file.
Functions | |
| TEST_F (KeptFilter, AnObjectKeepsTheFilterGivenAsAnRvalue) | |
| TEST_F (KeptFilter, AnObjectUsesTheFilterGivenAsAnLvalue) | |
| TEST_F (KeptFilter, TheCopyOfAnObjectHasItsOwnFilter) | |
| TEST_F (KeptFilter, TheIndexesCallTheirFiltersWhileTheyAreBuilt) | |
The filters that the algorithm objects keep.
These classes took their filters by reference, also when the filter was a temporary, such as the default argument: a named object referred to a filter that was gone when it ran. A filter given as an lvalue is still used where it is; one given as an rvalue is now moved into the object.
Definition in file graph_kept_filter_test.cc.
| TEST_F | ( | KeptFilter | , |
| AnObjectKeepsTheFilterGivenAsAnRvalue | |||
| ) |
Definition at line 155 of file graph_kept_filter_test.cc.
References Aleph::Directed_Find_Path< GT, Itor, SA >::bfs(), Aleph::Directed_Find_Path< GT, Itor, SA >::dfs(), Aleph::has_cycle(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::Path< GT >::size(), and Aleph::sort().
| TEST_F | ( | KeptFilter | , |
| AnObjectUsesTheFilterGivenAsAnLvalue | |||
| ) |
Definition at line 208 of file graph_kept_filter_test.cc.
References Aleph::Directed_Find_Path< GT, Itor, SA >::dfs(), Aleph::has_cycle(), and Aleph::sort().
| TEST_F | ( | KeptFilter | , |
| TheCopyOfAnObjectHasItsOwnFilter | |||
| ) |
Definition at line 257 of file graph_kept_filter_test.cc.
References Aleph::copy(), and Aleph::sort().
| TEST_F | ( | KeptFilter | , |
| TheIndexesCallTheirFiltersWhileTheyAreBuilt | |||
| ) |
Definition at line 271 of file graph_kept_filter_test.cc.
References arcs, cmp(), nodes, and Aleph::DynSetTree< Key, Tree, Compare >::size().