12 #ifndef IMPCONTAINER_MINIMUM_TRIPLET_SCORE_H
13 #define IMPCONTAINER_MINIMUM_TRIPLET_SCORE_H
15 #include <IMP/container/container_config.h>
19 IMPCONTAINER_BEGIN_NAMESPACE
31 std::string name =
"TripletScore %1%");
46 IMPCONTAINER_END_NAMESPACE
A class to store an fixed array of same-typed values.
Macros for various classes.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Evaluate the min or max n particle_triplet scores of the passed set.
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.
virtual Restraints do_create_current_decomposition(Model *m, const ParticleIndexTriplet &vt) const
Override this to return your own decomposition.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
virtual double evaluate_index(Model *m, const ParticleIndexTriplet &vt, DerivativeAccumulator *da) const =0
Compute the score and the derivative if needed.
Abstract class for scoring object(s) of type ParticleIndexTriplet.
#define IMP_TRIPLET_SCORE_METHODS(Name)
#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.