8 #ifndef IMPKERNEL_SCORE_STATE_H
9 #define IMPKERNEL_SCORE_STATE_H
11 #include <IMP/kernel_config.h>
22 IMPKERNEL_BEGIN_NAMESPACE
71 void before_evaluate();
85 bool get_has_update_order()
const {
return update_order_ != -1; }
96 virtual void do_before_evaluate() = 0;
103 virtual void do_after_evaluate(DerivativeAccumulator *accpt) = 0;
112 IMPKERNEL_END_NAMESPACE
Control display of deprecation information.
Macros to help with reference counting.
void set_can_skip(bool can_skip)
Set whether we can skip during model evaluation if appropriate.
Class for adding derivatives from restraints to the model.
#define IMP_REF_COUNTED_DESTRUCTOR(Name)
Ref counted objects should have private destructors.
Class for storing model, its restraints, constraints, and particles.
Base class for objects in a Model that depend on other objects.
bool get_can_skip() const
Get whether this state can be skipped if its inputs/outputs didn't move.
ScoreStates maintain invariants in the Model.
virtual void handle_set_has_required_score_states(bool)
A weak pointer to an Object or RefCountedObject.
For backwards compatibility.
Base class for objects in a Model that depend on other objects.
Helper macros for throwing and handling exceptions.
IMP::Vector< IMP::WeakPointer< ScoreState > > ScoreStatesTemp
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
Class for adding derivatives from restraints to the model.
ScoreStatesTemp get_update_order(ScoreStatesTemp input)