8 #ifndef IMPSPB_CONTACT_MAP_METRIC_H
9 #define IMPSPB_CONTACT_MAP_METRIC_H
12 #include <IMP/spb/spb_config.h>
14 IMPSPB_BEGIN_NAMESPACE
24 std::vector<Floats> matrices_;
32 void add_configuration(
double weight = 1.0);
33 void add_map(
Floats matrix,
double weight = 1.0);
36 Floats get_item(
unsigned i)
const;
39 double get_distance(
unsigned int i,
unsigned int j)
const override;
40 unsigned int get_number_of_items()
const override;
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
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.