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

Const_Graph_View and the read-only graph iterators hand out pointers to const: neither the information nor the bookkeeping of a node or of an arc can be written through them, on any graph class. More...

#include <gtest/gtest.h>
#include <Bellman_Ford.H>
#include <Dijkstra.H>
#include <Negative_Cycles.H>
#include <ah-graph-concepts.H>
#include <filter_iterator.H>
#include <tpl_agraph.H>
#include <tpl_const_graph_view.H>
#include <tpl_graph.H>
#include <tpl_sgraph.H>
#include <stdexcept>
#include <type_traits>
#include <utility>
#include <vector>
Include dependency graph for const_graph_view_test.cc:

Go to the source code of this file.

Functions

 TYPED_TEST (ConstGraphView, the_iterators_hand_out_pointers_to_const)
 
 TYPED_TEST (ConstGraphView, the_operations_receive_pointers_to_const)
 
 TYPED_TEST (ConstGraphView, the_view_and_its_iterators_satisfy_the_graph_concepts)
 
 TYPED_TEST (ConstGraphView, reads_what_the_graph_reads)
 
 TYPED_TEST (ConstGraphView, the_functional_members_read_the_graph)
 
 TYPED_TEST (ConstGraphView, a_view_is_not_a_snapshot_and_copies_share_the_graph)
 
 TYPED_TEST (ConstGraphView, an_empty_graph_is_read_as_empty)
 
 TYPED_TEST (ConstGraphView, the_entry_points_of_the_graph_agree_with_the_view)
 
 TYPED_TEST (ConstGraphView, the_filtered_iterators_and_the_generic_functions_read_a_view)
 
 TEST (ConstGraphViewAlgorithms, the_algorithms_that_keep_bookkeeping_run_on_the_graph_and_preserve_it)
 
 TEST (ConstGraphViewAlgorithms, dijkstra_runs_on_the_graph_and_preserves_the_information)
 
 TEST (ConstGraphViewAlgorithms, the_algorithms_without_bookkeeping_run_on_a_view)
 

Detailed Description

Const_Graph_View and the read-only graph iterators hand out pointers to const: neither the information nor the bookkeeping of a node or of an arc can be written through them, on any graph class.

Definition in file const_graph_view_test.cc.

Function Documentation

◆ TEST() [1/3]

TEST ( ConstGraphViewAlgorithms  ,
dijkstra_runs_on_the_graph_and_preserves_the_information   
)

Definition at line 801 of file const_graph_view_test.cc.

References Aleph::find_min_path(), and Aleph::Path< GT >::size().

◆ TEST() [2/3]

TEST ( ConstGraphViewAlgorithms  ,
the_algorithms_that_keep_bookkeeping_run_on_the_graph_and_preserve_it   
)

◆ TEST() [3/3]

TEST ( ConstGraphViewAlgorithms  ,
the_algorithms_without_bookkeeping_run_on_a_view   
)

◆ TYPED_TEST() [1/9]

TYPED_TEST ( ConstGraphView  ,
a_view_is_not_a_snapshot_and_copies_share_the_graph   
)

Definition at line 566 of file const_graph_view_test.cc.

References Aleph::const_view(), and Aleph::copy().

◆ TYPED_TEST() [2/9]

TYPED_TEST ( ConstGraphView  ,
an_empty_graph_is_read_as_empty   
)

Definition at line 592 of file const_graph_view_test.cc.

References Aleph::const_view().

◆ TYPED_TEST() [3/9]

◆ TYPED_TEST() [4/9]

◆ TYPED_TEST() [5/9]

TYPED_TEST ( ConstGraphView  ,
the_filtered_iterators_and_the_generic_functions_read_a_view   
)

◆ TYPED_TEST() [6/9]

TYPED_TEST ( ConstGraphView  ,
the_functional_members_read_the_graph   
)

Definition at line 478 of file const_graph_view_test.cc.

References Aleph::const_view(), and Aleph::for_each().

◆ TYPED_TEST() [7/9]

TYPED_TEST ( ConstGraphView  ,
the_iterators_hand_out_pointers_to_const   
)

Definition at line 212 of file const_graph_view_test.cc.

◆ TYPED_TEST() [8/9]

TYPED_TEST ( ConstGraphView  ,
the_operations_receive_pointers_to_const   
)

Definition at line 299 of file const_graph_view_test.cc.

◆ TYPED_TEST() [9/9]

TYPED_TEST ( ConstGraphView  ,
the_view_and_its_iterators_satisfy_the_graph_concepts   
)

Definition at line 349 of file const_graph_view_test.cc.