8 #ifndef IMPKERNEL_CONSTRAINT_H
9 #define IMPKERNEL_CONSTRAINT_H
13 IMPKERNEL_BEGIN_NAMESPACE
51 Constraint(std::string name =
"Constraint %1%");
54 virtual void do_update_attributes() = 0;
57 virtual void do_before_evaluate() IMP_OVERRIDE { do_update_attributes(); }
59 if (da) do_update_derivatives(da);
66 IMPKERNEL_END_NAMESPACE
Class for adding derivatives from restraints to the model.
IMP::kernel::Constraint Constraint
#define IMP_REF_COUNTED_DESTRUCTOR(Name)
Ref counted objects should have private destructors.
ScoreStates maintian invariants in the Model.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Implement a constraint on the Model.
Class for storing model, its restraints, constraints, and particles.