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

The searches, the connectivity and the shortest paths on each kind of graph. More...

#include <gtest/gtest.h>
#include <vector>
#include <Bellman_Ford.H>
#include <Dijkstra.H>
#include <Floyd_Warshall.H>
#include <Johnson.H>
#include <Tarjan.H>
#include <kosaraju.H>
#include <topological_sort.H>
#include <tpl_agraph.H>
#include <tpl_components.H>
#include <tpl_cut_nodes.H>
#include <tpl_find_path.H>
#include <tpl_graph.H>
#include <tpl_graph_utils.H>
#include <tpl_sgraph.H>
#include <tpl_test_acyclique.H>
#include <tpl_test_cycle.H>
#include <tpl_test_path.H>
Include dependency graph for graph_kinds_algorithms_test.cc:

Go to the source code of this file.

Functions

 TYPED_TEST_SUITE (UndirectedKinds, Undirected)
 
 TYPED_TEST_SUITE (DirectedKinds, Directed)
 
 TYPED_TEST (UndirectedKinds, CutNodesAndBridges)
 
 TYPED_TEST (UndirectedKinds, TraversalsAndComponents)
 
 TYPED_TEST (UndirectedKinds, PathsAndCycles)
 
 TYPED_TEST (UndirectedKinds, ShortestPaths)
 
 TYPED_TEST (DirectedKinds, StronglyConnectedComponents)
 
 TYPED_TEST (DirectedKinds, TopologicalSort)
 
 TYPED_TEST (DirectedKinds, ShortestPaths)
 

Detailed Description

The searches, the connectivity and the shortest paths on each kind of graph.

Most tests of the algorithms build List_Graph or List_Digraph; the order of the arcs of List_SGraph, which keeps them in a tree, made Kruskal give a wrong tree with it. These tests run the same algorithms, on the same graph, with each of the six kinds of graph, and check what they give.

Definition in file graph_kinds_algorithms_test.cc.

Function Documentation

◆ TYPED_TEST() [1/7]

◆ TYPED_TEST() [2/7]

◆ TYPED_TEST() [3/7]

◆ TYPED_TEST() [4/7]

TYPED_TEST ( UndirectedKinds  ,
CutNodesAndBridges   
)

◆ TYPED_TEST() [5/7]

◆ TYPED_TEST() [6/7]

TYPED_TEST ( UndirectedKinds  ,
ShortestPaths   
)

◆ TYPED_TEST() [7/7]

TYPED_TEST ( UndirectedKinds  ,
TraversalsAndComponents   
)

◆ TYPED_TEST_SUITE() [1/2]

TYPED_TEST_SUITE ( DirectedKinds  ,
Directed   
)

◆ TYPED_TEST_SUITE() [2/2]

TYPED_TEST_SUITE ( UndirectedKinds  ,
Undirected   
)