|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Go to the source code of this file.
Classes | |
| struct | WeightFilter< GT > |
Typedefs | |
| using | IntGraph = List_Graph< Graph_Node< int >, Graph_Arc< int > > |
| using | WeightedGraph = List_Graph< Graph_Node< string >, Graph_Arc< int > > |
| using | DoubleGraph = List_Graph< Graph_Node< int >, Graph_Arc< double > > |
| using | SGraph = List_SGraph< Graph_Snode< int >, Graph_Sarc< int > > |
Functions | |
| TEST (StoerWagnerConstruction, DefaultConstruction) | |
| TEST (StoerWagnerConstruction, WithCustomDistance) | |
| TEST (StoerWagnerErrors, ThrowsOnSingleNode) | |
| TEST (StoerWagnerErrors, HandlesDisconnectedGraph) | |
| TEST (StoerWagnerErrors, HandlesTwoNodesNoEdges) | |
| TEST (StoerWagnerMinCut, TwoNodesOneEdge) | |
| TEST (StoerWagnerMinCut, Triangle) | |
| TEST (StoerWagnerMinCut, Square) | |
| TEST (StoerWagnerMinCut, Barbell) | |
| TEST (StoerWagnerMinCut, Path) | |
| TEST (StoerWagnerMinCut, Cycle) | |
| TEST (StoerWagnerMinCut, Star) | |
| TEST (StoerWagnerMinCut, CompleteK3) | |
| TEST (StoerWagnerMinCut, CompleteK4) | |
| TEST (StoerWagnerMinCut, CompleteK5) | |
| TEST (StoerWagnerMinCut, CompleteK6) | |
| TEST (StoerWagnerWeighted, WeakMiddleEdge) | |
| TEST (StoerWagnerWeighted, WeakFirstEdge) | |
| TEST (StoerWagnerWeighted, WeakLastEdge) | |
| TEST (StoerWagnerWeighted, TwoClustersWeakBridge) | |
| TEST (StoerWagnerWeighted, TwoClustersHeavyBridge) | |
| TEST (StoerWagnerWeighted, WeightedTriangle) | |
| TEST (StoerWagnerPartitions, PartitionsCoverAllNodes) | |
| TEST (StoerWagnerPartitions, PartitionsNonEmpty) | |
| TEST (StoerWagnerPartitions, NoOverlap) | |
| TEST (StoerWagnerPartitions, CutEdgesCrossPartition) | |
| TEST (StoerWagnerWeightOnly, BasicUsage) | |
| TEST (StoerWagnerWeightOnly, WeightedGraph) | |
| TEST (StoerWagnerWeightOnly, MatchesFullComputation) | |
| TEST (StoerWagnerWeightOnly, SmallGraph) | |
| TEST (StoerWagnerUnitWeight, IgnoresArcWeights) | |
| TEST (StoerWagnerUnitWeight, CountsEdges) | |
| TEST (StoerWagnerCustomDistance, DoubleWeight) | |
| TEST (StoerWagnerCustomDistance, ConstantWeight) | |
| TEST (StoerWagnerArcFilter, FiltersByWeight) | |
| TEST (StoerWagnerGraphTypes, ListSGraph) | |
| TEST (StoerWagnerGraphTypes, DoubleWeights) | |
| TEST (StoerWagnerEdgeCases, ZeroWeightEdge) | |
| TEST (StoerWagnerEdgeCases, AllSameWeight) | |
| TEST (StoerWagnerEdgeCases, LargeWeights) | |
| TEST (StoerWagnerPerformance, MediumGraph50Nodes) | |
| TEST (StoerWagnerPerformance, DenseGraph20Nodes) | |
| TEST (StoerWagnerDeterminism, SameResultOnMultipleCalls) | |
| using DoubleGraph = List_Graph<Graph_Node<int>, Graph_Arc<double> > |
Definition at line 46 of file stoer_wagner.cc.
| using IntGraph = List_Graph<Graph_Node<int>, Graph_Arc<int> > |
Definition at line 44 of file stoer_wagner.cc.
| using SGraph = List_SGraph<Graph_Snode<int>, Graph_Sarc<int> > |
Definition at line 47 of file stoer_wagner.cc.
| using WeightedGraph = List_Graph<Graph_Node<string>, Graph_Arc<int> > |
Definition at line 45 of file stoer_wagner.cc.
| TEST | ( | StoerWagnerArcFilter | , |
| FiltersByWeight | |||
| ) |
Definition at line 798 of file stoer_wagner.cc.
References Aleph::filter(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerConstruction | , |
| DefaultConstruction | |||
| ) |
Definition at line 233 of file stoer_wagner.cc.
References Aleph::maps().
| TEST | ( | StoerWagnerConstruction | , |
| WithCustomDistance | |||
| ) |
Definition at line 238 of file stoer_wagner.cc.
References GTArcCommon< ArcInfo >::get_info(), and Aleph::maps().
| TEST | ( | StoerWagnerCustomDistance | , |
| ConstantWeight | |||
| ) |
Definition at line 761 of file stoer_wagner.cc.
References create_triangle(), Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerCustomDistance | , |
| DoubleWeight | |||
| ) |
Definition at line 741 of file stoer_wagner.cc.
References GTArcCommon< ArcInfo >::get_info(), Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerDeterminism | , |
| SameResultOnMultipleCalls | |||
| ) |
Definition at line 986 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::HTList::size().
| TEST | ( | StoerWagnerEdgeCases | , |
| AllSameWeight | |||
| ) |
Definition at line 904 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerEdgeCases | , |
| LargeWeights | |||
| ) |
Definition at line 918 of file stoer_wagner.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerEdgeCases | , |
| ZeroWeightEdge | |||
| ) |
Definition at line 884 of file stoer_wagner.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerErrors | , |
| HandlesDisconnectedGraph | |||
| ) |
Definition at line 265 of file stoer_wagner.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::HTList::is_empty(), Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerErrors | , |
| HandlesTwoNodesNoEdges | |||
| ) |
Definition at line 287 of file stoer_wagner.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerErrors | , |
| ThrowsOnSingleNode | |||
| ) |
Definition at line 253 of file stoer_wagner.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and Aleph::maps().
| TEST | ( | StoerWagnerGraphTypes | , |
| DoubleWeights | |||
| ) |
| TEST | ( | StoerWagnerGraphTypes | , |
| ListSGraph | |||
| ) |
Definition at line 831 of file stoer_wagner.cc.
References Aleph::List_SGraph< __Graph_Node, __Graph_Arc >::insert_arc(), Aleph::List_SGraph< __Graph_Node, __Graph_Arc >::insert_node(), Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerMinCut | , |
| Barbell | |||
| ) |
Definition at line 353 of file stoer_wagner.cc.
References Aleph::maps(), Aleph::min_cut(), and Aleph::HTList::size().
| TEST | ( | StoerWagnerMinCut | , |
| CompleteK3 | |||
| ) |
Definition at line 416 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerMinCut | , |
| CompleteK4 | |||
| ) |
Definition at line 430 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerMinCut | , |
| CompleteK5 | |||
| ) |
Definition at line 444 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerMinCut | , |
| CompleteK6 | |||
| ) |
Definition at line 458 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerMinCut | , |
| Cycle | |||
| ) |
Definition at line 383 of file stoer_wagner.cc.
References create_cycle(), Aleph::maps(), Aleph::min_cut(), and Aleph::HTList::size().
| TEST | ( | StoerWagnerMinCut | , |
| Path | |||
| ) |
Definition at line 368 of file stoer_wagner.cc.
References Aleph::maps(), Aleph::min_cut(), and Aleph::HTList::size().
| TEST | ( | StoerWagnerMinCut | , |
| Square | |||
| ) |
Definition at line 339 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerMinCut | , |
| Star | |||
| ) |
Definition at line 398 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerMinCut | , |
| Triangle | |||
| ) |
Definition at line 324 of file stoer_wagner.cc.
References create_triangle(), Aleph::maps(), Aleph::min_cut(), and Aleph::HTList::size().
| TEST | ( | StoerWagnerMinCut | , |
| TwoNodesOneEdge | |||
| ) |
Definition at line 305 of file stoer_wagner.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), Aleph::min_cut(), and Aleph::HTList::size().
| TEST | ( | StoerWagnerPartitions | , |
| CutEdgesCrossPartition | |||
| ) |
Definition at line 619 of file stoer_wagner.cc.
References LocateFunctions< Container, Type >::get_it(), Aleph::DynList< T >::insert(), and Aleph::maps().
| TEST | ( | StoerWagnerPartitions | , |
| NoOverlap | |||
| ) |
Definition at line 601 of file stoer_wagner.cc.
References create_cycle(), LocateFunctions< Container, Type >::get_it(), Aleph::DynList< T >::insert(), and Aleph::maps().
| TEST | ( | StoerWagnerPartitions | , |
| PartitionsCoverAllNodes | |||
| ) |
Definition at line 574 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::HTList::size().
| TEST | ( | StoerWagnerPartitions | , |
| PartitionsNonEmpty | |||
| ) |
Definition at line 587 of file stoer_wagner.cc.
References Aleph::HTList::is_empty(), and Aleph::maps().
| TEST | ( | StoerWagnerPerformance | , |
| DenseGraph20Nodes | |||
| ) |
Definition at line 968 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerPerformance | , |
| MediumGraph50Nodes | |||
| ) |
Definition at line 941 of file stoer_wagner.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), N, nodes, and Aleph::HTList::size().
| TEST | ( | StoerWagnerUnitWeight | , |
| CountsEdges | |||
| ) |
Definition at line 723 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerUnitWeight | , |
| IgnoresArcWeights | |||
| ) |
Definition at line 702 of file stoer_wagner.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerWeighted | , |
| TwoClustersHeavyBridge | |||
| ) |
Definition at line 531 of file stoer_wagner.cc.
References Aleph::maps(), Aleph::min_cut(), and Aleph::HTList::size().
| TEST | ( | StoerWagnerWeighted | , |
| TwoClustersWeakBridge | |||
| ) |
Definition at line 516 of file stoer_wagner.cc.
References Aleph::maps(), Aleph::min_cut(), and Aleph::HTList::size().
| TEST | ( | StoerWagnerWeighted | , |
| WeakFirstEdge | |||
| ) |
Definition at line 490 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerWeighted | , |
| WeakLastEdge | |||
| ) |
Definition at line 503 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerWeighted | , |
| WeakMiddleEdge | |||
| ) |
Definition at line 476 of file stoer_wagner.cc.
References Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerWeighted | , |
| WeightedTriangle | |||
| ) |
Definition at line 546 of file stoer_wagner.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), Aleph::maps(), and Aleph::min_cut().
| TEST | ( | StoerWagnerWeightOnly | , |
| BasicUsage | |||
| ) |
Definition at line 651 of file stoer_wagner.cc.
References Aleph::maps().
| TEST | ( | StoerWagnerWeightOnly | , |
| MatchesFullComputation | |||
| ) |
Definition at line 671 of file stoer_wagner.cc.
References Aleph::maps().
| TEST | ( | StoerWagnerWeightOnly | , |
| SmallGraph | |||
| ) |
Definition at line 685 of file stoer_wagner.cc.
References Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), and Aleph::maps().
| TEST | ( | StoerWagnerWeightOnly | , |
| WeightedGraph | |||
| ) |
Definition at line 661 of file stoer_wagner.cc.
References Aleph::maps().