1 #include "../point/squaredlpmetric.h"
2 #include "../point/point.h"
Squared Lp metric for Point.
SquaredLPMetric(double p)
double squaredLpDistance(Point const &, double p) const
virtual SquaredLPMetric * clone() const
void setP(double p)
Sets p ("Squared Lp distance").
Weighted point of arbitrary dimension.
virtual double dissimilarity(Point const &, Point const &) const
Computes the squared Lp-distance between the two given Point instances.