9 #ifndef IMPKINEMATICS_KINEMATIC_FOREST_SCORE_STATE_H
10 #define IMPKINEMATICS_KINEMATIC_FOREST_SCORE_STATE_H
12 #include <IMP/kinematics/kinematics_config.h>
18 IMPKINEMATICS_BEGIN_NAMESPACE
24 return rbs[0].get_model();
25 else if (!atoms.empty())
26 return atoms[0]->get_model();
28 IMP_FAILURE(
"No particles passed to KinematicForestScoreState");
47 :
ScoreState(extract_model(rbs, atoms),
"KinematicForestScoreState%1%"),
54 kf_->update_all_external_coordinates();
71 IMPKINEMATICS_END_NAMESPACE
#define IMP_FAILURE(message)
A runtime failure for IMP.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
void do_before_evaluate() override
Update the state given the current state of the model.
Macros to control compiler warnings.
#define IMP_UNUSED(variable)
ScoreStates maintain invariants in the Model.
functionality for defining rigid bodies
virtual ModelObjectsTemp do_get_outputs() const =0
Define and manipulate a kinematic structure over a model.
void do_after_evaluate(DerivativeAccumulator *da) override
Do any necessary updates after the model score is calculated.
Define and manipulate a kinematic structure over a model.
virtual ModelObjectsTemp do_get_inputs() const =0
Class for adding derivatives from restraints to the model.