11 #ifndef IMPCONTAINER_MINIMUM_SINGLETON_SCORE_H
12 #define IMPCONTAINER_MINIMUM_SINGLETON_SCORE_H
14 #include <IMP/container/container_config.h>
18 IMPCONTAINER_BEGIN_NAMESPACE
30 std::string name =
"SingletonScore %1%");
44 IMPCONTAINER_END_NAMESPACE
virtual double evaluate_index(kernel::Model *m, ParticleIndex vt, DerivativeAccumulator *da) const
Compute the score and the derivative if needed.
virtual Restraints do_create_current_decomposition(kernel::Model *m, ParticleIndex vt) const
IMP::base::Vector< IMP::base::WeakPointer< SingletonScore > > SingletonScoresTemp
Class for adding derivatives from restraints to the model.
IMP::base::Vector< IMP::base::Pointer< SingletonScore > > SingletonScores
IMP::base::Vector< IMP::base::Pointer< Restraint > > Restraints
Import IMP/kernel/singleton_macros.h in the namespace.
virtual ModelObjectsTemp do_get_inputs(kernel::Model *m, const ParticleIndexes &pis) const
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Import IMP/kernel/SingletonScore.h in the namespace.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Evaluate the min or max n particle scores of the passed set.
#define IMP_SINGLETON_SCORE_METHODS(Name)
Class for storing model, its restraints, constraints, and particles.