8 #ifndef IMPMISC_STATE_ADAPTOR_H
9 #define IMPMISC_STATE_ADAPTOR_H
11 #include <IMP/misc/misc_config.h>
16 IMPMISC_BEGIN_NAMESPACE
virtual void do_before_evaluate()=0
Update the state given the current state of the model.
Allow OptimizerStates to be used as ScoreStates.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
virtual void do_after_evaluate(DerivativeAccumulator *accpt)=0
Do any necessary updates after the model score is calculated.
A more IMP-like version of the std::vector.
Class for storing model, its restraints, constraints, and particles.
ScoreStates maintain invariants in the Model.
A smart pointer to a ref-counted Object that is a class member.
virtual ModelObjectsTemp do_get_outputs() const =0
Shared optimizer state that is invoked upon commitment of new coordinates.
virtual ModelObjectsTemp do_get_inputs() const =0
Class for adding derivatives from restraints to the model.