12 #ifndef IMPCONTAINER_MINIMUM_SINGLETON_SCORE_H
13 #define IMPCONTAINER_MINIMUM_SINGLETON_SCORE_H
15 #include <IMP/container/container_config.h>
19 IMPCONTAINER_BEGIN_NAMESPACE
31 std::string name =
"SingletonScore %1%");
46 IMPCONTAINER_END_NAMESPACE
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Macros for various classes.
virtual Restraints do_create_current_decomposition(Model *m, ParticleIndex vt) const
Override this to return your own decomposition.
Class for storing model, its restraints, constraints, and particles.
Abstract class for scoring object(s) of type ParticleIndex.
#define IMP_SINGLETON_SCORE_METHODS(Name)
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
Evaluate the min or max n particle scores of the passed set.
virtual double evaluate_index(Model *m, ParticleIndex vt, DerivativeAccumulator *da) const =0
Compute the score and the derivative if needed.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
Class for adding derivatives from restraints to the model.