IMP  2.0.1
The Integrative Modeling Platform
IMP::restrainer::SimpleDistance Class Reference

Simple distance restraint between two particles. More...

#include <IMP/restrainer/simplify_restraint.h>

Public Member Functions

core::HarmonicUpperBoundget_harmonic_upper_bound ()
 
core::DistanceRestraintget_restraint ()
 
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 Particles &ps)
 

Related Functions

(Note that these are not member functions.)

SimpleDistance create_simple_distance (const Particles &ps)
 

Detailed Description

Note
SimpleDistance stores pointers to DistanceRestraint, and HarmonicUpperBound.
It provides convenient methods to change mean, k, and standard deviation.
See Also
DistanceRestraint

Definition at line 228 of file simplify_restraint.h.

Member Function Documentation

void IMP::restrainer::SimpleDistance::set_k ( Float  k)

The default k is 1.

Definition at line 261 of file simplify_restraint.h.

void IMP::restrainer::SimpleDistance::set_mean ( Float  mean)

The default mean is 0.

Definition at line 246 of file simplify_restraint.h.

+ Here is the call graph for this function:

Friends And Related Function Documentation

SimpleDistance create_simple_distance ( const Particles &  ps)
related

Creates DistanceRestraint using HarmonicUpperBound scoring function as default.

Parameters
[in]psPointer to two particles in distance restraint.

The documentation for this class was generated from the following file: