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

Connectivity, cycles, bipartition, matchings, spanning trees and Euler on every small multigraph, against the oracles. More...

#include <set>
#include <stdexcept>
#include <string>
#include <vector>
#include <gtest/gtest.h>
#include <tpl_graph.H>
#include <tpl_components.H>
#include <tpl_graph_utils.H>
#include <tpl_cut_nodes.H>
#include <tpl_test_acyclique.H>
#include <tpl_bipartite.H>
#include <tpl_spanning_tree.H>
#include <Blossom.H>
#include <eulerian.H>
#include "graph_harness.H"
#include "graph_oracles.H"
Include dependency graph for graph_exhaustive_connectivity_test.cc:

Go to the source code of this file.

Classes

class  ExhaustiveConnectivity< GT >
 

Functions

 TYPED_TEST_SUITE (ExhaustiveConnectivity, Undirected_Kinds)
 
 TYPED_TEST (ExhaustiveConnectivity, ComponentsMatchTheOracle)
 
 TYPED_TEST (ExhaustiveConnectivity, SubgraphsMatchTheOracle)
 
 TYPED_TEST (ExhaustiveConnectivity, CutNodesAndBridgesMatchTheOracle)
 
 TYPED_TEST (ExhaustiveConnectivity, CyclesMatchTheOracle)
 
 TYPED_TEST (ExhaustiveConnectivity, BipartitionAndMatchingsMatchTheOracle)
 
 TYPED_TEST (ExhaustiveConnectivity, SpanningTreesCoverTheComponentOfTheStart)
 
 TYPED_TEST (ExhaustiveConnectivity, EulerMatchesTheOracle)
 

Detailed Description

Connectivity, cycles, bipartition, matchings, spanning trees and Euler on every small multigraph, against the oracles.

Each test runs one family of algorithms over every multigraph of the domain of graph_harness.H (up to 4 nodes and 3 arcs; one more of each with ALEPH_GRAPH_HARNESS=heavy), with loops, parallel arcs and each arc inserted from either end, on the three kinds of graph that are not directed, and compares each answer with graph_oracles.H.

Definition in file graph_exhaustive_connectivity_test.cc.

Function Documentation

◆ TYPED_TEST() [1/7]

◆ TYPED_TEST() [2/7]

◆ TYPED_TEST() [3/7]

◆ TYPED_TEST() [4/7]

◆ TYPED_TEST() [5/7]

◆ TYPED_TEST() [6/7]

◆ TYPED_TEST() [7/7]

◆ TYPED_TEST_SUITE()

TYPED_TEST_SUITE ( ExhaustiveConnectivity  ,
Undirected_Kinds   
)