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
Override this to return your own decomposition.
Macros for various classes.
#define IMP_PAIR_SCORE_METHODS(Name)
#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
Overload this method to specify the inputs.
Evaluate the min or max n particle_pair scores of the passed set.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
virtual double evaluate_index(Model *m, const ParticleIndexPair &vt, DerivativeAccumulator *da) const =0
Compute the score and the derivative if needed.
Class for adding derivatives from restraints to the model.