|
| 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==
|
|
template<typename DistanceTypeParam>
class paal::data_structures::rectangle_array_metric< DistanceTypeParam >
Metric implementation on 2 dimensional array distance calls on this metric are valid opnly when x < N and y < M (N and M given in the constructor) when we know that only certain calls occurs it might be worthwhile to use this metric
- Template Parameters
-
Definition at line 38 of file basic_metrics.hpp.