12 #ifndef IMPCONTAINER_MINIMUM_QUAD_SCORE_H
13 #define IMPCONTAINER_MINIMUM_QUAD_SCORE_H
15 #include <IMP/container/container_config.h>
19 IMPCONTAINER_BEGIN_NAMESPACE
31 std::string name =
"QuadScore %1%");
46 IMPCONTAINER_END_NAMESPACE
virtual Restraints do_create_current_decomposition(Model *m, const ParticleIndexQuad &vt) const
Override this to return your own decomposition.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Macros for various classes.
Class for storing model, its restraints, constraints, and particles.
Abstract class for scoring object(s) of type ParticleIndexQuad.
Evaluate the min or max n particle_quad scores of the passed set.
#define IMP_QUAD_SCORE_METHODS(Name)
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the inputs.
virtual double evaluate_index(Model *m, const ParticleIndexQuad &vt, DerivativeAccumulator *da) const =0
Compute the score and the derivative if needed.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
#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.