Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
tpl_mincost_test.cc File Reference
#include <gtest/gtest.h>
#include <tpl_mincost.H>
#include <tpl_netcost.H>
Include dependency graph for tpl_mincost_test.cc:

Go to the source code of this file.

Functions

 TEST (SSPTest, SimplePath)
 
 TEST (SSPTest, DiamondNetwork)
 
 TEST (SSPTest, CrossNetwork)
 
 TEST (SSPTest, ParallelPaths)
 
 TEST (SSPTest, LargeCosts)
 
 TEST (SSPTest, SingleArc)
 
 TEST (SSPTest, ZeroCapacity)
 
 TEST (SSPTest, FunctorInterface)
 
 TEST (SSPTest, CompareWithCycleCanceling)
 
 TEST (AlgorithmComparisonTest, SSP_vs_CycleCanceling_Diamond)
 
 TEST (AlgorithmComparisonTest, SSP_vs_CycleCanceling_CrossNetwork)
 
 TEST (PerformanceTest, SSP_vs_CycleCanceling_OnLargerNetwork)
 
 TEST (AssignmentTest, Basic3x3)
 
 TEST (AssignmentTest, Single1x1)
 
 TEST (AssignmentTest, Empty)
 
 TEST (AssignmentTest, Larger5x5)
 
 TEST (TransportationTest, Balanced)
 
 TEST (TransportationTest, Imbalanced)
 
 TEST (TransportationTest, Larger3x4)
 
int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 477 of file tpl_mincost_test.cc.

References Aleph::maps().

◆ TEST() [1/19]

TEST ( AlgorithmComparisonTest  ,
SSP_vs_CycleCanceling_CrossNetwork   
)

◆ TEST() [2/19]

TEST ( AlgorithmComparisonTest  ,
SSP_vs_CycleCanceling_Diamond   
)

◆ TEST() [3/19]

TEST ( AssignmentTest  ,
Basic3x3   
)

Definition at line 363 of file tpl_mincost_test.cc.

References Aleph::maps(), and Aleph::solve_assignment().

◆ TEST() [4/19]

TEST ( AssignmentTest  ,
Empty   
)

Definition at line 389 of file tpl_mincost_test.cc.

References Aleph::maps(), and Aleph::solve_assignment().

◆ TEST() [5/19]

TEST ( AssignmentTest  ,
Larger5x5   
)

Definition at line 399 of file tpl_mincost_test.cc.

References Aleph::maps(), and Aleph::solve_assignment().

◆ TEST() [6/19]

TEST ( AssignmentTest  ,
Single1x1   
)

Definition at line 378 of file tpl_mincost_test.cc.

References Aleph::maps(), and Aleph::solve_assignment().

◆ TEST() [7/19]

◆ TEST() [8/19]

TEST ( SSPTest  ,
CompareWithCycleCanceling   
)

◆ TEST() [9/19]

TEST ( SSPTest  ,
CrossNetwork   
)

◆ TEST() [10/19]

TEST ( SSPTest  ,
DiamondNetwork   
)

◆ TEST() [11/19]

TEST ( SSPTest  ,
FunctorInterface   
)

Definition at line 201 of file tpl_mincost_test.cc.

References Aleph::maps().

◆ TEST() [12/19]

◆ TEST() [13/19]

TEST ( SSPTest  ,
ParallelPaths   
)

◆ TEST() [14/19]

TEST ( SSPTest  ,
SimplePath   
)

◆ TEST() [15/19]

◆ TEST() [16/19]

◆ TEST() [17/19]

TEST ( TransportationTest  ,
Balanced   
)

Definition at line 421 of file tpl_mincost_test.cc.

References Aleph::maps(), and Aleph::solve_transportation().

◆ TEST() [18/19]

TEST ( TransportationTest  ,
Imbalanced   
)

Definition at line 436 of file tpl_mincost_test.cc.

References Aleph::maps(), and Aleph::solve_transportation().

◆ TEST() [19/19]

TEST ( TransportationTest  ,
Larger3x4   
)

Definition at line 451 of file tpl_mincost_test.cc.

References Aleph::maps(), and Aleph::solve_transportation().