8 #ifndef IMPSPB_RMSD_METRIC_H
9 #define IMPSPB_RMSD_METRIC_H
13 #include <IMP/spb/spb_config.h>
15 IMPSPB_BEGIN_NAMESPACE
22 std::vector<algebra::Vector3Ds> coords_;
28 void add_configuration(
double weight = 1.0);
32 double get_distance(
unsigned int i,
unsigned int j)
const override;
33 unsigned int get_number_of_items()
const override;
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Include all non-deprecated headers in IMP.statistics.
Include all non-deprecated headers in IMP.algebra.
double get_weight(unsigned int i) const
Return a weight for the point.
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
double Float
Basic floating-point value (could be float, double...)
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.
Store data to be clustered for distance metric based algorithms.