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

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"
Include dependency graph for graph_exhaustive_properties_test.cc:

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)
 

Detailed Description

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.

Function Documentation

◆ TYPED_TEST() [1/2]

◆ TYPED_TEST() [2/2]

◆ TYPED_TEST_SUITE()

TYPED_TEST_SUITE ( ExhaustiveProperties  ,
All_Kinds   
)