#include "paal/data_structures/metric/metric_traits.hpp"
#include "paal/utils/accumulate_functors.hpp"
#include "paal/utils/functors.hpp"
Go to the source code of this file.
Namespaces | |
paal | |
global namespace of project. | |
Functions | |
template<typename Metric , typename FCosts , typename FLSolution > | |
data_structures::metric_traits < Metric >::DistanceType | paal::simple_algo::get_cfl_cost (const Metric &m, const FCosts &fcosts, const FLSolution &fls) |
returns cost for capacitated facility location More... | |
template<typename Metric , typename FCosts , typename FLSolution > | |
data_structures::metric_traits < Metric >::DistanceType | paal::simple_algo::get_fl_cost (const Metric &m, const FCosts &fcosts, const FLSolution &fls) |
return cost for facility location More... | |
template<typename Metric , typename FLSolution > | |
data_structures::metric_traits < Metric >::DistanceType | paal::simple_algo::get_km_cost (const Metric &m, const FLSolution &fls) |
returns cost for k-median More... | |