Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
moved_from_graphs_test.cc File Reference

The moved-from tests (moved_from.H) of the tree and graph algorithms: LCA, heavy-light and centroid decompositions, tree DP, Mo on trees, Floyd-Warshall, the index of the arcs into the nodes, the Hungarian assignment and the simplex solvers. More...

#include "moved_from.H"
#include <Floyd_Warshall.H>
#include <HLD.H>
#include <Hungarian.H>
#include <LCA.H>
#include <Simplex.H>
#include <Tree_DP.H>
#include <Tree_Decomposition.H>
#include <tpl_array.H>
#include <tpl_dynMat.H>
#include <tpl_graph.H>
#include <tpl_mo_on_trees.H>
#include <tpl_tree_node.H>
#include <algorithm>
#include <cstddef>
#include <limits>
#include <stdexcept>
#include <utility>
Include dependency graph for moved_from_graphs_test.cc:

Go to the source code of this file.

Classes

struct  Moved_From_Case< Binary_Lifting_LCA< Graph > >
 
struct  Moved_From_Case< Euler_RMQ_LCA< Graph > >
 
struct  Moved_From_Case< HLD_Sum< Graph, int > >
 
struct  Moved_From_Case< Heavy_Light_Decomposition< Graph > >
 
struct  Moved_From_Case< HLD_Path_Query< Graph, int, Aleph::plus< int > > >
 
struct  Moved_From_Case< Centroid_Decomposition< Graph > >
 
struct  Moved_From_Case< Tree_DP< Graph, long > >
 
struct  Moved_From_Case< Reroot_DP< Graph, long > >
 
struct  Moved_From_Case< Distinct_Count_Mo_On_Trees< Graph > >
 
struct  Moved_From_Case< Distinct_Count_Mo_On_Tree_Node< int > >
 
struct  Moved_From_Case< Floyd_All_Shortest_Paths< Dgraph > >
 
struct  Moved_From_Case< In_Arcs_Index< Dgraph > >
 
struct  Moved_From_Case< Hungarian_Assignment< long > >
 
struct  Moved_From_Case< Simplex< double > >
 
struct  Moved_From_Case< RevisedSimplex< double > >
 

Typedefs

using Graphs = ::testing::Types< Binary_Lifting_LCA< Graph >, Euler_RMQ_LCA< Graph >, HLD_Sum< Graph, int >, Heavy_Light_Decomposition< Graph >, HLD_Path_Query< Graph, int, Aleph::plus< int > >, Centroid_Decomposition< Graph >, Tree_DP< Graph, long >, Reroot_DP< Graph, long >, Distinct_Count_Mo_On_Trees< Graph >, Distinct_Count_Mo_On_Tree_Node< int >, Floyd_All_Shortest_Paths< Dgraph >, In_Arcs_Index< Dgraph >, Hungarian_Assignment< long >, Simplex< double >, RevisedSimplex< double > >
 

Functions

 INSTANTIATE_TYPED_TEST_SUITE_P (Graphs, MovedFrom, Graphs)
 

Detailed Description

The moved-from tests (moved_from.H) of the tree and graph algorithms: LCA, heavy-light and centroid decompositions, tree DP, Mo on trees, Floyd-Warshall, the index of the arcs into the nodes, the Hungarian assignment and the simplex solvers.

The objects are built on small graphs that live to the end of the tests, so that no object outlives the graph whose nodes it keeps.

Definition in file moved_from_graphs_test.cc.

Typedef Documentation

◆ Graphs

Function Documentation

◆ INSTANTIATE_TYPED_TEST_SUITE_P()

INSTANTIATE_TYPED_TEST_SUITE_P ( Graphs  ,
MovedFrom  ,
Graphs   
)