9 #ifndef IMPMODELLER_MULTIPLE_BINORMAL_RESTRAINT_H
10 #define IMPMODELLER_MULTIPLE_BINORMAL_RESTRAINT_H
12 #include <IMP/modeller/modeller_config.h>
19 IMPMODELLER_BEGIN_NAMESPACE
32 std::vector<BinormalTerm> terms_;
45 terms_.push_back(term);
54 double correlation_, weight_;
55 std::pair<double, double> means_, stdevs_;
57 double evaluate(
const double dihedral[2],
double &sin1,
double &sin2,
58 double &cos1,
double &cos2,
double &rho)
const;
61 means_(-1,-1), stdevs_(-1,-1){}
64 void set_correlation(
double correlation) { correlation_ = correlation; }
65 void set_weight(
double weight) { weight_ = weight; }
66 void set_means(
FloatPair means) { means_ = means; }
67 void set_standard_deviations(
FloatPair stdevs) {
71 {out <<
"correlation: " << correlation_
72 <<
"; weight: " << weight_
73 <<
"; means: " << means_.first <<
", " << means_.second
74 <<
"; standard deviations: " << stdevs_.first <<
", "
79 IMPMODELLER_END_NAMESPACE