It provides convenient methods to change mean, k, and standard deviation.
Public Member Functions | |
| core::HarmonicUpperBound * | get_harmonic_upper_bound () |
| core::DistanceRestraint * | get_restraint () |
| VersionInfo | get_version_info () const |
| void | set_k (Float k) |
| Set the spring constant for the HarmonicUpperBound. | |
| void | set_mean (Float mean) |
| Set the mean for the HarmonicUpperBound. | |
| void | set_stddev (Float sd) |
| Set the standard deviation for the HarmonicUpperBound. | |
| void | show (std::ostream &out=std::cout) const |
Friends | |
| SimpleDistance | create_simple_distance (Particles *ps) |
| void IMP::helper::SimpleDistance::set_k | ( | Float | k | ) |
Set the spring constant for the HarmonicUpperBound.
The default k is 1.
| void IMP::helper::SimpleDistance::set_mean | ( | Float | mean | ) |
Set the mean for the HarmonicUpperBound.
The default mean is 0.
| SimpleDistance create_simple_distance | ( | Particles * | ps | ) | [friend] |
Creates DistanceRestraint using HarmonicUpperBound scoring function as default.
| [in] | ps | Pointer to two particles in distance restraint. |