12 #ifndef IMPCONTAINER_MINIMUM_PAIR_SCORE_H
13 #define IMPCONTAINER_MINIMUM_PAIR_SCORE_H
15 #include <IMP/container/container_config.h>
19 IMPCONTAINER_BEGIN_NAMESPACE
31 std::string name =
"PairScore %1%");
46 IMPCONTAINER_END_NAMESPACE
Abstract class for scoring object(s) of type ParticleIndexPair.
virtual Restraints do_create_current_decomposition(Model *m, const ParticleIndexPair &vt) const
Overide this to return your own decomposition.
Macros for various classes.
#define IMP_PAIR_SCORE_METHODS(Name)
A class to store an fixed array of same-typed values.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Class for storing model, its restraints, constraints, and particles.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Evaluate the min or max n particle_pair scores of the passed set.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
virtual double evaluate_index(Model *m, const ParticleIndexPair &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.