10 #ifndef IMPISD_AMBIGUOUS_NOE_RESTRAINT_H
11 #define IMPISD_AMBIGUOUS_NOE_RESTRAINT_H
13 #include <IMP/isd/isd_config.h>
20 IMPISD_BEGIN_NAMESPACE
29 void set_chi(
double chi) { chi_ = chi; }
31 friend class cereal::access;
33 template<
class Archive>
void serialize(Archive &ar) {
34 ar(cereal::base_class<Restraint>(
this),
35 pc_, sigma_, gamma_, Vexp_, chi_);
51 double get_chi()
const {
return chi_; }
A shared container for Pairs.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Take Decorator, Particle or ParticleIndex.
virtual double unprotected_evaluate(DerivativeAccumulator *da) const
Return the unweighted score for the restraint.
A decorator for scale parameters particles.
Ambiguous NOE distance restraint between a number of pairs of particles.
A more IMP-like version of the std::vector.
A smart pointer to a reference counted object.
Class for storing model, its restraints, constraints, and particles.
#define IMP_OBJECT_SERIALIZE_DECL(Name)
Declare methods needed for serialization of Object pointers.
Abstract base class for all restraints.
virtual ModelObjectsTemp do_get_inputs() const =0
Class for adding derivatives from restraints to the model.
A restraint is a term in an IMP ScoringFunction.