this metric is rectangle_array_metric with N == M.
More...
#include <basic_metrics.hpp>
|
| 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...
|
|
| 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_metric & | operator= (const rectangle_array_metric &am) |
| operator= More...
|
|
bool | operator== (const rectangle_array_metric &other) const |
| operator==
|
|
|
typedef DistanceTypeParam | DistanceType |
|
typedef int | VertexType |
|
typedef boost::multi_array
< DistanceType, DIM_NR > | matrix_type |
|
matrix_type | m_matrix |
| matrix with data
|
|
static const int | DIM_NR = 2 |
| dimention of multi array
|
|
template<typename DistanceTypeParam>
class paal::data_structures::array_metric< DistanceTypeParam >
this metric is rectangle_array_metric with N == M.
- Template Parameters
-
Definition at line 137 of file basic_metrics.hpp.
template<typename DistanceTypeParam>
template<typename DistanceTypeParam>
template<typename OtherMetrics , typename Items >
constructor from another metric
- Template Parameters
-
- Parameters
-
Definition at line 164 of file basic_metrics.hpp.
template<typename DistanceTypeParam>
The documentation for this class was generated from the following file: