All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Namespaces | Functions
fl_algo.hpp File Reference
#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...
 

Detailed Description

Author
Piotr Wygocki
Version
1.0
Date
2013-02-15

Definition in file fl_algo.hpp.