#include <steiner_utils.hpp>
Static Public Member Functions | |
template<typename Metric , typename Terminals , typename Result > | |
static data_structures::metric_traits < Metric >::DistanceType | count_cost (const Result &steiner_vertices, const Terminals &terminals, const Metric &cost_map) |
Utilities class. Responsible for calculating the cost of given edges.
Definition at line 34 of file steiner_utils.hpp.
|
inlinestatic |
Calculates total cost of given edges.
Definition at line 41 of file steiner_utils.hpp.