12 #ifndef IMPCONTAINER_MINIMUM_PAIR_RESTRAINT_H
13 #define IMPCONTAINER_MINIMUM_PAIR_RESTRAINT_H
15 #include <IMP/container/container_config.h>
20 IMPCONTAINER_BEGIN_NAMESPACE
38 std::string name =
"MinimumPairRestraint %1%");
48 void set_n(
unsigned int n) { n_ = n; }
56 IMPCONTAINER_END_NAMESPACE
Class for adding derivatives from restraints to the model.
Score based on the min or max PairScore over a set.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
IMP::base::Vector< IMP::base::Pointer< Restraint > > Restraints
Abstract class for scoring object(s) of type ParticlePair.
Import IMP/kernel/PairContainer.h in the namespace.
Import IMP/kernel/PairScore.h in the namespace.
A restraint is a term in an IMP ScoringFunction.
void set_n(unsigned int n)
Set the number of lowest scores to use.
virtual Restraints do_create_current_decomposition() const
virtual ModelObjectsTemp do_get_inputs() const =0
Import IMP/kernel/Restraint.h in the namespace.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.