IMP logo
Macros
statistics_macros.h File Reference

Various important macros for implementing decorators. More...

+ Include dependency graph for statistics_macros.h:

Go to the source code of this file.

Macros

#define IMP_CLUSTERING(Name)
 Define the methods needed by Clustering.
#define IMP_EMBEDDING(Name)
 Define things needed for a Embedding.
#define IMP_METRIC(Name)
 Define things needed for a Metric.

Detailed Description

Various important macros for implementing decorators.

Copyright 2007-2012 IMP Inventors. All rights reserved.


Macro Definition Documentation

#define IMP_CLUSTERING (   Name)

Define the methods needed by Clustering.

In addition to what is defined/declared by IMP_OBJECT() it declares

  • IMP::statistics::Clustering::get_number_of_clusters()
  • IMP::statistics::Clustering::get_cluster()
  • IMP::statistics::Clustering::get_cluster_representative()
#define IMP_EMBEDDING (   Name)
Value:
algebra::VectorKD get_point(unsigned int i) const; \
unsigned int get_number_of_items() const; \
IMP_OBJECT(Name)

Define things needed for a Embedding.

In addition to what is done by IMP_OBJECT() it declares

#define IMP_METRIC (   Name)

Define things needed for a Metric.

In addition to what is done by IMP_OBJECT() it declares


Generated on Tue May 22 2012 23:33:20 for IMP by doxygen 1.8.1