12 #ifndef IMPKERNEL_QUAD_SCORE_H
13 #define IMPKERNEL_QUAD_SCORE_H
15 #include <IMP/kernel_config.h>
18 #include "internal/container_helpers.h"
20 #include <cereal/access.hpp>
21 #include <cereal/types/base_class.hpp>
24 IMPKERNEL_BEGIN_NAMESPACE
52 QuadScore(std::string name =
"QuadScore %1%");
78 unsigned int lower_bound,
79 unsigned int upper_bound)
const;
84 virtual double evaluate_indexes_scores(
87 unsigned int lower_bound,
88 unsigned int upper_bound,
89 std::vector<double> &score)
const;
95 virtual double evaluate_indexes_delta(
98 const std::vector<unsigned> &indexes,
99 std::vector<double> &score)
const;
120 virtual double evaluate_if_good_indexes(
Model *m,
123 unsigned int lower_bound,
124 unsigned int upper_bound)
const;
144 friend class cereal::access;
146 template<
class Archive>
void serialize(Archive &ar) {
148 ar(cereal::base_class<Object>(
this));
152 IMPKERNEL_END_NAMESPACE
A class to store a fixed array of same-typed values.
Class for adding derivatives from restraints to the model.
Base class for objects that take particle arguments and read from them.
#define IMP_REF_COUNTED_DESTRUCTOR(Name)
Set up destructor for a ref counted object.
Class for storing model, its restraints, constraints, and particles.
Abstract class for scoring object(s) of type ParticleIndexQuad.
Common base class for heavy weight IMP objects.
Classes used in the construction of ModelObjects.
Various general useful macros for IMP.
A base class for modifiers of ParticleQuadsTemp.
Class for adding derivatives from restraints to the model.