12 #ifndef IMPCONTAINER_MINIMUM_QUAD_RESTRAINT_H
13 #define IMPCONTAINER_MINIMUM_QUAD_RESTRAINT_H
15 #include <IMP/container/container_config.h>
20 IMPCONTAINER_BEGIN_NAMESPACE
38 std::string name =
"MinimumQuadRestraint %1%");
48 void set_n(
unsigned int n) { n_ = n; }
52 double max) const IMP_OVERRIDE;
56 IMPCONTAINER_END_NAMESPACE
Class for adding derivatives from restraints to the model.
A smart pointer to a ref-counted Object that is a class memeber.
Import IMP/kernel/QuadContainer.h in the namespace.
IMP::base::Vector< IMP::base::Pointer< Restraint > > Restraints
void set_n(unsigned int n)
Set the number of lowest scores to use.
Score based on the min or max QuadScore over a set.
A restraint is a term in an IMP ScoringFunction.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
virtual Restraints do_create_current_decomposition() const
Import IMP/kernel/QuadScore.h in the namespace.
virtual ModelObjectsTemp do_get_inputs() const =0
Import IMP/kernel/Restraint.h in the namespace.