9#ifndef IMPSTATISTICS_EMBEDDING_H
10#define IMPSTATISTICS_EMBEDDING_H
12#include <IMP/statistics/statistics_config.h>
17IMPSTATISTICS_BEGIN_NAMESPACE
27 Embedding(std::string name);
36 virtual unsigned int get_number_of_items()
const = 0;
41 for (
unsigned int i = 0; i < ret.size(); ++i) {
42 ret[i] = get_point(i);
50IMPSTATISTICS_END_NAMESPACE
A shared base class to help in debugging and things.
Common base class for heavy weight IMP objects.
Store data to be clustered for embedding based algorithms.
double get_weight(unsigned int i) const
Return a weight for the point.
virtual double do_get_weight(unsigned int i) const
By default return 1.0.
IMP::Vector< IMP::Pointer< Embedding > > Embeddings
Vector< VectorD<-1 > > VectorKDs
Helper macros for implementing IMP Objects.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
#define IMP_UNUSED(variable)