![]() |
IMP
2.1.0
The Integrative Modeling Platform
|
Simple distance restraint between two particles. More...
#include <IMP/restrainer/simplify_restraint.h>
Public Member Functions | |
| core::HarmonicUpperBound * | get_harmonic_upper_bound () |
| core::DistanceRestraint * | get_restraint () |
| base::VersionInfo | get_version_info () const |
| void | set_k (Float k) |
| Set the spring constant for the HarmonicUpperBound. More... | |
| void | set_mean (Float mean) |
| Set the mean for the HarmonicUpperBound. More... | |
| void | set_standard_deviation (Float sd) |
| Set the standard deviation for the HarmonicUpperBound. | |
| void | show (std::ostream &out=std::cout) const |
Friends | |
| SimpleDistance | create_simple_distance (const kernel::Particles &ps) |
Definition at line 233 of file simplify_restraint.h.
| void IMP::restrainer::SimpleDistance::set_k | ( | Float | k | ) |
The default k is 1.
Definition at line 266 of file simplify_restraint.h.
| void IMP::restrainer::SimpleDistance::set_mean | ( | Float | mean | ) |
The default mean is 0.
Definition at line 251 of file simplify_restraint.h.
|
friend |
Creates DistanceRestraint using HarmonicUpperBound scoring function as default.
| [in] | ps | Pointer to two particles in distance restraint. See SimpleDistance |