|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Tests for tpl_kgraph.H. More...
Go to the source code of this file.
Functions | |
| TEST (KGraphEdgeConnectivity, EmptyGraphReturnsZero) | |
| TEST (KGraphEdgeConnectivity, SingleNodeReturnsZero) | |
| TEST (KGraphEdgeConnectivity, SingleEdgeReturnsOne) | |
| TEST (KGraphEdgeConnectivity, DisconnectedGraphReturnsZero) | |
| TEST (KGraphEdgeConnectivity, CycleReturnsTwo) | |
| TEST (KGraphEdgeConnectivity, CompleteGraphReturnsNMinusOne) | |
| TEST (KGraphEdgeConnectivity, ParallelEdgesIncreaseConnectivity) | |
| TEST (KGraphMinCut, EmptyGraphProducesEmptyPartition) | |
| TEST (KGraphMinCut, SingleNodeTrivialCut) | |
| TEST (KGraphMinCut, SingleEdgeCut) | |
| TEST (KGraphMinCut, DisconnectedGraphReturnsZero) | |
| TEST (KGraphMinCut, CycleReturnsTwo) | |
| TEST (KGraphMinCut, ParallelEdgesReturnFullCut) | |
| TEST (KGraphVertexConnectivity, EmptyGraphReturnsZero) | |
| TEST (KGraphVertexConnectivity, SingleNodeReturnsZero) | |
| TEST (KGraphVertexConnectivity, TwoNodesOneEdgeReturnsOne) | |
| TEST (KGraphVertexConnectivity, DisconnectedGraphReturnsZero) | |
| TEST (KGraphVertexConnectivity, CycleReturnsTwo) | |
| TEST (KGraphVertexConnectivity, CompleteGraphReturnsNMinusOne) | |
| TEST (KGraphVertexConnectivity, BowtieGraphHasConnectivityOne) | |
| TEST (KGraphPreconditions, RejectsDigraphs) | |
| TEST | ( | KGraphEdgeConnectivity | , |
| CompleteGraphReturnsNMinusOne | |||
| ) |
Definition at line 179 of file tpl_kgraph_test.cc.
| TEST | ( | KGraphEdgeConnectivity | , |
| CycleReturnsTwo | |||
| ) |
Definition at line 170 of file tpl_kgraph_test.cc.
| TEST | ( | KGraphEdgeConnectivity | , |
| DisconnectedGraphReturnsZero | |||
| ) |
Definition at line 160 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), k, and nodes.
| TEST | ( | KGraphEdgeConnectivity | , |
| EmptyGraphReturnsZero | |||
| ) |
Definition at line 136 of file tpl_kgraph_test.cc.
References k.
| TEST | ( | KGraphEdgeConnectivity | , |
| ParallelEdgesIncreaseConnectivity | |||
| ) |
Definition at line 188 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), k, and nodes.
| TEST | ( | KGraphEdgeConnectivity | , |
| SingleEdgeReturnsOne | |||
| ) |
Definition at line 151 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), k, and nodes.
| TEST | ( | KGraphEdgeConnectivity | , |
| SingleNodeReturnsZero | |||
| ) |
Definition at line 143 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and k.
| TEST | ( | KGraphMinCut | , |
| CycleReturnsTwo | |||
| ) |
Definition at line 252 of file tpl_kgraph_test.cc.
References l, Aleph::min_cut(), nodes, and r.
| TEST | ( | KGraphMinCut | , |
| DisconnectedGraphReturnsZero | |||
| ) |
Definition at line 237 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), l, Aleph::min_cut(), nodes, and r.
| TEST | ( | KGraphMinCut | , |
| EmptyGraphProducesEmptyPartition | |||
| ) |
Definition at line 198 of file tpl_kgraph_test.cc.
References l, Aleph::min_cut(), and r.
| TEST | ( | KGraphMinCut | , |
| ParallelEdgesReturnFullCut | |||
| ) |
Definition at line 266 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), l, Aleph::min_cut(), nodes, and r.
| TEST | ( | KGraphMinCut | , |
| SingleEdgeCut | |||
| ) |
Definition at line 223 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), l, Aleph::min_cut(), nodes, and r.
| TEST | ( | KGraphMinCut | , |
| SingleNodeTrivialCut | |||
| ) |
Definition at line 210 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), l, Aleph::min_cut(), and r.
| TEST | ( | KGraphPreconditions | , |
| RejectsDigraphs | |||
| ) |
Definition at line 348 of file tpl_kgraph_test.cc.
| TEST | ( | KGraphVertexConnectivity | , |
| BowtieGraphHasConnectivityOne | |||
| ) |
Definition at line 333 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), k, and nodes.
| TEST | ( | KGraphVertexConnectivity | , |
| CompleteGraphReturnsNMinusOne | |||
| ) |
Definition at line 324 of file tpl_kgraph_test.cc.
| TEST | ( | KGraphVertexConnectivity | , |
| CycleReturnsTwo | |||
| ) |
Definition at line 315 of file tpl_kgraph_test.cc.
| TEST | ( | KGraphVertexConnectivity | , |
| DisconnectedGraphReturnsZero | |||
| ) |
Definition at line 305 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), k, and nodes.
| TEST | ( | KGraphVertexConnectivity | , |
| EmptyGraphReturnsZero | |||
| ) |
Definition at line 281 of file tpl_kgraph_test.cc.
References k.
| TEST | ( | KGraphVertexConnectivity | , |
| SingleNodeReturnsZero | |||
| ) |
Definition at line 288 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and k.
| TEST | ( | KGraphVertexConnectivity | , |
| TwoNodesOneEdgeReturnsOne | |||
| ) |
Definition at line 296 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), k, and nodes.