11 #ifndef IMPCONTAINER_MINIMUM_TRIPLET_SCORE_H
12 #define IMPCONTAINER_MINIMUM_TRIPLET_SCORE_H
14 #include <IMP/container/container_config.h>
18 IMPCONTAINER_BEGIN_NAMESPACE
30 std::string name =
"TripletScore %1%");
45 IMPCONTAINER_END_NAMESPACE
Class for adding derivatives from restraints to the model.
Import IMP/kernel/triplet_macros.h in the namespace.
virtual double evaluate_index(kernel::Model *m, const kernel::ParticleIndexTriplet &vt, DerivativeAccumulator *da) const
Compute the score and the derivative if needed.
IMP::base::Vector< IMP::base::Pointer< Restraint > > Restraints
Evaluate the min or max n particle_triplet scores of the passed set.
A class to store an fixed array of same-typed values.
virtual ModelObjectsTemp do_get_inputs(kernel::Model *m, const ParticleIndexes &pis) const
virtual Restraints do_create_current_decomposition(kernel::Model *m, const kernel::ParticleIndexTriplet &vt) const
Import IMP/kernel/TripletScore.h in the namespace.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
#define IMP_TRIPLET_SCORE_METHODS(Name)
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
IMP::base::Vector< IMP::base::Pointer< TripletScore > > TripletScores
IMP::base::Vector< IMP::base::WeakPointer< TripletScore > > TripletScoresTemp
Class for storing model, its restraints, constraints, and particles.