|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Colorings and the sufficient conditions of Hamilton cycles on every small graph, against brute force. More...
#include <algorithm>#include <numeric>#include <set>#include <stdexcept>#include <string>#include <vector>#include <gtest/gtest.h>#include <tpl_graph.H>#include <Graph_Coloring.H>#include <hamiltonian.H>#include "graph_filter_catalog.H"#include "graph_harness.H"#include "graph_oracles.H"Go to the source code of this file.
Classes | |
| class | ExhaustiveProperties< GT > |
Functions | |
| TYPED_TEST_SUITE (ExhaustiveProperties, All_Kinds) | |
| TYPED_TEST (ExhaustiveProperties, ColoringsAreProperAndTheChromaticNumberExact) | |
| TYPED_TEST (ExhaustiveProperties, HamiltonConditionsAreThoseOfTheirTheorems) | |
Colorings and the sufficient conditions of Hamilton cycles on every small graph, against brute force.
The colorings run on every multigraph of the domain of graph_harness.H and on every simple graph of up to 5 nodes (every simple digraph of up to 4 on the kinds of digraph, whose arcs they take as not directed): with a loop they must throw, and else give a proper coloring, the exact one with chromatic_number(). Ore's and Dirac's conditions run on the same graphs, with each set of hidden arcs on those of 3 arcs or 3 nodes, and on every multigraph of 3 nodes and up to 6 arcs: they must say what the condition says of the simple graph that the shown arcs give, and never claim a Hamilton cycle that brute force does not find.
Definition in file graph_exhaustive_properties_test.cc.
| TYPED_TEST | ( | ExhaustiveProperties | , |
| ColoringsAreProperAndTheChromaticNumberExact | |||
| ) |
Definition at line 246 of file graph_exhaustive_properties_test.cc.
References Aleph::and, graph_harness::Spec::arcs, check(), Aleph::chromatic_number(), Aleph::color(), Aleph::dsatur_coloring(), graph_harness::Check::expect(), graph_harness::Check::fail(), graph_harness::Built< GT >::g, Aleph::greedy_coloring(), graph_harness::Spec::has_loop(), GraphCommon< GT, Node, Arc >::is_digraph(), Aleph::is_valid_coloring(), graph_harness::Spec::n, graph_harness::Built< GT >::nodes, graph_harness::num(), graph_harness::Check::run(), and Aleph::welsh_powell_coloring().
| TYPED_TEST | ( | ExhaustiveProperties | , |
| HamiltonConditionsAreThoseOfTheirTheorems | |||
| ) |
Definition at line 330 of file graph_exhaustive_properties_test.cc.
References Aleph::and, graph_harness::Check::expect(), graph_harness::Check::fail(), graph_harness::for_each_spec(), graph_harness::Built< GT >::g, GraphCommon< GT, Node, Arc >::is_digraph(), graph_harness::Domain::max_nodes, graph_harness::Spec::n, graph_harness::Spec::num_arcs(), and graph_harness::Check::run().
| TYPED_TEST_SUITE | ( | ExhaustiveProperties | , |
| All_Kinds | |||
| ) |