|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Protected Member Functions | |
| void | SetUp () override |
| void | TearDown () override |
| void | createPathGraph (int n, double weight=1.0) |
| void | createCompleteGraph (int n, double minWeight=1.0, double maxWeight=10.0, unsigned seed=42) |
| void | createNegativeWeightGraph () |
| void | createNegativeCycleGraph () |
| void | createSparseGraph (int n, double edgeProbability=0.2, double minWeight=1.0, double maxWeight=10.0, unsigned seed=42) |
| std::map< std::pair< int, int >, double > | computeFloydWarshall () |
Protected Attributes | |
| TestDigraph | g |
| std::vector< Node * > | nodes |
Definition at line 108 of file johnson_test.cc.
Definition at line 208 of file johnson_test.cc.
References g, Aleph::maps(), Aleph::Filter_Iterator< Container, It, Show_Item >::next(), nodes, and w.
|
inlineprotected |
Definition at line 137 of file johnson_test.cc.
References g, Aleph::maps(), and nodes.
|
inlineprotected |
Definition at line 177 of file johnson_test.cc.
|
inlineprotected |
Definition at line 154 of file johnson_test.cc.
Definition at line 126 of file johnson_test.cc.
|
inlineprotected |
Definition at line 189 of file johnson_test.cc.
References g, Aleph::maps(), and nodes.
|
inlineoverrideprotected |
Definition at line 114 of file johnson_test.cc.
References nodes.
|
inlineoverrideprotected |
Definition at line 120 of file johnson_test.cc.
|
protected |
Definition at line 111 of file johnson_test.cc.
Referenced by computeFloydWarshall(), createCompleteGraph(), createNegativeCycleGraph(), createNegativeWeightGraph(), createPathGraph(), and createSparseGraph().
|
protected |
Definition at line 112 of file johnson_test.cc.
Referenced by computeFloydWarshall(), createCompleteGraph(), createNegativeCycleGraph(), createNegativeWeightGraph(), createPathGraph(), createSparseGraph(), and SetUp().