8 #ifndef IMPKERNEL_CONSTRAINT_H
9 #define IMPKERNEL_CONSTRAINT_H
13 IMPKERNEL_BEGIN_NAMESPACE
52 virtual void do_update_attributes() = 0;
57 if (da) do_update_derivatives(da);
64 IMPKERNEL_END_NAMESPACE
#define IMP_REF_COUNTED_DESTRUCTOR(Name)
Ref counted objects should have private destructors.
A more IMP-like version of the std::vector.
Implement a constraint on the Model.
Class for storing model, its restraints, constraints, and particles.
ScoreStates maintain invariants in the Model.
virtual void do_after_evaluate(DerivativeAccumulator *da) override
Do any necessary updates after the model score is calculated.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
virtual void do_before_evaluate() override
Update the state given the current state of the model.
Class for adding derivatives from restraints to the model.