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%");
97 unsigned int lower_bound,
98 unsigned int upper_bound,
99 bool all_indexes_checked=
false)
const;
108 virtual double evaluate_indexes_scores(
111 unsigned int lower_bound,
112 unsigned int upper_bound,
113 std::vector<double> &score,
114 bool all_indexes_checked=
false)
const;
124 virtual double evaluate_indexes_delta(
127 const std::vector<unsigned> &indexes,
128 std::vector<double> &score,
129 bool all_indexes_checked=
false)
const;
150 virtual double evaluate_if_good_indexes(
Model *m,
153 unsigned int lower_bound,
154 unsigned int upper_bound,
155 bool all_indexes_checked=
false)
const;
175 friend class cereal::access;
177 template<
class Archive>
void serialize(Archive &ar) {
179 ar(cereal::base_class<Object>(
this));
183 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.
virtual bool check_indexes(Model *m, const ParticleIndexes &pis) const
Check the given particle indexes for necessary attributes.
Common base class for heavy weight IMP objects.
#define IMP_UNUSED(variable)
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.