|
Aleph-w 3.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 181 of file tpl_kgraph_test.cc.
References Aleph::maps(), and nodes.
| TEST | ( | KGraphEdgeConnectivity | , |
| CycleReturnsTwo | |||
| ) |
Definition at line 172 of file tpl_kgraph_test.cc.
References Aleph::maps(), and nodes.
| TEST | ( | KGraphEdgeConnectivity | , |
| DisconnectedGraphReturnsZero | |||
| ) |
Definition at line 162 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::maps(), and nodes.
| TEST | ( | KGraphEdgeConnectivity | , |
| EmptyGraphReturnsZero | |||
| ) |
Definition at line 138 of file tpl_kgraph_test.cc.
References Aleph::maps().
| TEST | ( | KGraphEdgeConnectivity | , |
| ParallelEdgesIncreaseConnectivity | |||
| ) |
Definition at line 190 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::maps(), and nodes.
| TEST | ( | KGraphEdgeConnectivity | , |
| SingleEdgeReturnsOne | |||
| ) |
Definition at line 153 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::maps(), and nodes.
| TEST | ( | KGraphEdgeConnectivity | , |
| SingleNodeReturnsZero | |||
| ) |
Definition at line 145 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and Aleph::maps().
| TEST | ( | KGraphMinCut | , |
| CycleReturnsTwo | |||
| ) |
Definition at line 254 of file tpl_kgraph_test.cc.
References l, Aleph::maps(), Aleph::min_cut(), and nodes.
| TEST | ( | KGraphMinCut | , |
| DisconnectedGraphReturnsZero | |||
| ) |
Definition at line 239 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), l, Aleph::maps(), Aleph::min_cut(), and nodes.
| TEST | ( | KGraphMinCut | , |
| EmptyGraphProducesEmptyPartition | |||
| ) |
Definition at line 200 of file tpl_kgraph_test.cc.
References l, Aleph::maps(), and Aleph::min_cut().
| TEST | ( | KGraphMinCut | , |
| ParallelEdgesReturnFullCut | |||
| ) |
Definition at line 268 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), l, Aleph::maps(), Aleph::min_cut(), and nodes.
| TEST | ( | KGraphMinCut | , |
| SingleEdgeCut | |||
| ) |
Definition at line 225 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), l, Aleph::maps(), Aleph::min_cut(), and nodes.
| TEST | ( | KGraphMinCut | , |
| SingleNodeTrivialCut | |||
| ) |
Definition at line 212 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), l, Aleph::maps(), and Aleph::min_cut().
| TEST | ( | KGraphPreconditions | , |
| RejectsDigraphs | |||
| ) |
Definition at line 350 of file tpl_kgraph_test.cc.
References l, and Aleph::maps().
| TEST | ( | KGraphVertexConnectivity | , |
| BowtieGraphHasConnectivityOne | |||
| ) |
Definition at line 335 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::maps(), and nodes.
| TEST | ( | KGraphVertexConnectivity | , |
| CompleteGraphReturnsNMinusOne | |||
| ) |
Definition at line 326 of file tpl_kgraph_test.cc.
References Aleph::maps(), and nodes.
| TEST | ( | KGraphVertexConnectivity | , |
| CycleReturnsTwo | |||
| ) |
Definition at line 317 of file tpl_kgraph_test.cc.
References Aleph::maps(), and nodes.
| TEST | ( | KGraphVertexConnectivity | , |
| DisconnectedGraphReturnsZero | |||
| ) |
Definition at line 307 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::maps(), and nodes.
| TEST | ( | KGraphVertexConnectivity | , |
| EmptyGraphReturnsZero | |||
| ) |
Definition at line 283 of file tpl_kgraph_test.cc.
References Aleph::maps().
| TEST | ( | KGraphVertexConnectivity | , |
| SingleNodeReturnsZero | |||
| ) |
Definition at line 290 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and Aleph::maps().
| TEST | ( | KGraphVertexConnectivity | , |
| TwoNodesOneEdgeReturnsOne | |||
| ) |
Definition at line 298 of file tpl_kgraph_test.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::maps(), and nodes.