All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::data_structures::array_metric< DistanceTypeParam > Class Template Reference

this metric is rectangle_array_metric with N == M. More...

#include <basic_metrics.hpp>

Inheritance diagram for paal::data_structures::array_metric< DistanceTypeParam >:
paal::data_structures::rectangle_array_metric< DistanceTypeParam >

Public Member Functions

 array_metric (int N=0)
 constructor More...
 
int size () const
 returns N More...
 
template<typename OtherMetrics , typename Items >
 array_metric (const OtherMetrics &other, Items &&items)
 constructor from another metric More...
 
- Public Member Functions inherited from paal::data_structures::rectangle_array_metric< DistanceTypeParam >
 rectangle_array_metric (int N=0, int M=0)
 constructor More...
 
DistanceType operator() (const VertexType &v, const VertexType &w) const
 operator(), valid only when v < N and w < M More...
 
DistanceType & operator() (const VertexType &v, const VertexType &w)
 operator(), valid only when v < N and w < M, nonconst version More...
 
template<typename OtherMetrics , typename XRange , typename YRange >
 rectangle_array_metric (const OtherMetrics &other, XRange &&xrange, YRange &&yrange)
 constructor from another metric More...
 
rectangle_array_metricoperator= (const rectangle_array_metric &am)
 operator= More...
 
bool operator== (const rectangle_array_metric &other) const
 operator==
 

Additional Inherited Members

- Public Types inherited from paal::data_structures::rectangle_array_metric< DistanceTypeParam >
typedef DistanceTypeParam DistanceType
 
typedef int VertexType
 
- Protected Types inherited from paal::data_structures::rectangle_array_metric< DistanceTypeParam >
typedef boost::multi_array
< DistanceType, DIM_NR
matrix_type
 
- Protected Attributes inherited from paal::data_structures::rectangle_array_metric< DistanceTypeParam >
matrix_type m_matrix
 matrix with data
 
- Static Protected Attributes inherited from paal::data_structures::rectangle_array_metric< DistanceTypeParam >
static const int DIM_NR = 2
 dimention of multi array
 

Detailed Description

template<typename DistanceTypeParam>
class paal::data_structures::array_metric< DistanceTypeParam >

this metric is rectangle_array_metric with N == M.

Template Parameters
DistanceTypeParam

Definition at line 137 of file basic_metrics.hpp.

Constructor & Destructor Documentation

template<typename DistanceTypeParam>
paal::data_structures::array_metric< DistanceTypeParam >::array_metric ( int  N = 0)
inline

constructor

Parameters
N

Definition at line 146 of file basic_metrics.hpp.

template<typename DistanceTypeParam>
template<typename OtherMetrics , typename Items >
paal::data_structures::array_metric< DistanceTypeParam >::array_metric ( const OtherMetrics &  other,
Items &&  items 
)
inline

constructor from another metric

Template Parameters
OtherMetrics
Items
Parameters
other
items

Definition at line 164 of file basic_metrics.hpp.

Member Function Documentation

template<typename DistanceTypeParam>
int paal::data_structures::array_metric< DistanceTypeParam >::size ( ) const
inline

returns N

Returns

Definition at line 153 of file basic_metrics.hpp.


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