All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::data_structures::metric_on_idx< Metric, Bimap, Strategy > Class Template Reference

This metric keeps inner metric and index. Given vertices are reindex and passed to inner metric. More...

#include <metric_on_idx.hpp>

Public Member Functions

 metric_on_idx (Metric m, Bimap idx)
 constructor More...
 
template<typename Vertex >
auto operator() (const Vertex &i, const Vertex &j)
 operator() More...
 
template<typename Vertex >
auto operator() (const Vertex &i, const Vertex &j) const
 operator() const More...
 

Detailed Description

template<typename Metric, typename Bimap, typename Strategy = read_indexes_tag>
class paal::data_structures::metric_on_idx< Metric, Bimap, Strategy >

This metric keeps inner metric and index. Given vertices are reindex and passed to inner metric.

Template Parameters
Metric
Bimap

Definition at line 35 of file metric_on_idx.hpp.

Constructor & Destructor Documentation

template<typename Metric, typename Bimap, typename Strategy = read_indexes_tag>
paal::data_structures::metric_on_idx< Metric, Bimap, Strategy >::metric_on_idx ( Metric  m,
Bimap  idx 
)
inline

constructor

Parameters
m
idx

Definition at line 61 of file metric_on_idx.hpp.

Member Function Documentation

template<typename Metric, typename Bimap, typename Strategy = read_indexes_tag>
template<typename Vertex >
auto paal::data_structures::metric_on_idx< Metric, Bimap, Strategy >::operator() ( const Vertex &  i,
const Vertex &  j 
)
inline

operator()

Parameters
i
j
Returns

Definition at line 73 of file metric_on_idx.hpp.

template<typename Metric, typename Bimap, typename Strategy = read_indexes_tag>
template<typename Vertex >
auto paal::data_structures::metric_on_idx< Metric, Bimap, Strategy >::operator() ( const Vertex &  i,
const Vertex &  j 
) const
inline

operator() const

Parameters
i
j
Returns

Definition at line 86 of file metric_on_idx.hpp.


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