13 #ifndef IMPISD_RESIDUE_PROTEIN_PROXIMITY_RESTRAINT_H
14 #define IMPISD_RESIDUE_PROTEIN_PROXIMITY_RESTRAINT_H
16 #include <IMP/isd/isd_config.h>
23 #include <boost/unordered_map.hpp>
25 IMPISD_BEGIN_NAMESPACE
36 bool part_of_log_score=
false,
37 std::string name =
"ResidueProteinProximityRestraint_%1%");
47 double evaluate_for_contributions(
Ints c)
const;
52 void set_sigma(
double sigma) { sigma_=sigma; }
54 void set_cutoff(
double cutoff) { cutoff_=cutoff; }
56 void set_max_score(
double max_score) { max_score_=max_score; }
58 void set_yi(
double yi) { yi_=yi; }
60 void set_interpolation_factor(
double interpolation_factor) { interpolation_factor_=interpolation_factor; }
62 void set_part_of_log_score(
bool hey) { part_of_log_score_=hey; }
74 double interpolation_factor_;
76 bool part_of_log_score_;
80 std::vector<IMP::core::XYZRs> coms1_;
81 std::vector<IMP::core::XYZRs> coms2_;
Various important functionality for implementing decorators.
A shared container for Pairs.
Store a list of ParticleIndexes.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
virtual double unprotected_evaluate(DerivativeAccumulator *da) const
Return the unweighted score for the restraint.
Macros to define containers of objects.
Class for storing model, its restraints, constraints, and particles.
unsigned get_number_of_contributions() const
Get number of contributions added to the restraint.
Abstract base class for all restraints.
Decorator for a sphere-like particle.
virtual ModelObjectsTemp do_get_inputs() const =0
A restraint is a term in an IMP ScoringFunction.