Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
MultiCommodityTest Class Reference
Inheritance diagram for MultiCommodityTest:
[legend]
Collaboration diagram for MultiCommodityTest:
[legend]

Protected Member Functions

bool nearly_equal (double a, double b, double eps=EPSILON)
 
TestNet build_single_arc_network (double capacity, double cost)
 
TestNet build_diamond_network ()
 
TestNet build_parallel_paths ()
 

Static Protected Attributes

static constexpr double EPSILON = 1e-6
 

Detailed Description

Definition at line 54 of file tpl_multicommodity_test.cc.

Member Function Documentation

◆ build_diamond_network()

TestNet MultiCommodityTest::build_diamond_network ( )
inlineprotected

◆ build_parallel_paths()

TestNet MultiCommodityTest::build_parallel_paths ( )
inlineprotected

◆ build_single_arc_network()

TestNet MultiCommodityTest::build_single_arc_network ( double  capacity,
double  cost 
)
inlineprotected

◆ nearly_equal()

bool MultiCommodityTest::nearly_equal ( double  a,
double  b,
double  eps = EPSILON 
)
inlineprotected

Definition at line 59 of file tpl_multicommodity_test.cc.

Member Data Documentation

◆ EPSILON

constexpr double MultiCommodityTest::EPSILON = 1e-6
staticconstexprprotected

Definition at line 57 of file tpl_multicommodity_test.cc.


The documentation for this class was generated from the following file: