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;
88 virtual double evaluate_indexes_scores(
91 unsigned int lower_bound,
92 unsigned int upper_bound,
93 std::vector<double> &score)
const;
103 virtual double evaluate_indexes_delta(
106 const std::vector<unsigned> &indexes,
107 std::vector<double> &score)
const;
128 virtual double evaluate_if_good_indexes(
Model *m,
131 unsigned int lower_bound,
132 unsigned int upper_bound)
const;
152 friend class cereal::access;
154 template<
class Archive>
void serialize(Archive &ar) {
156 ar(cereal::base_class<Object>(
this));
160 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.