10 #ifndef IMPISD_MARGINAL_NOE_RESTRAINT_H
11 #define IMPISD_MARGINAL_NOE_RESTRAINT_H
14 #include <IMP/isd/isd_config.h>
18 IMPISD_BEGIN_NAMESPACE
34 std::vector<double> volumes_;
36 void set_log_gammahat(
double loggammahat) {loggammahat_=loggammahat;}
38 void set_SS(
double SS) {SS_=SS;}
55 double get_log_gammahat()
const {
return loggammahat_;}
58 double get_SS()
const {
return SS_;}
60 unsigned get_number_of_contributions()
const {
return volumes_.size();}
63 double get_probability()
const
65 return exp(-unprotected_evaluate(
nullptr));