IMP logo
Public Member Functions | Friends | Related Functions
IMP::restrainer::SimpleDistance Class Reference

Detailed Description

Simple distance restraint between two particles.

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

List of all members.

Public Member Functions

def __init__
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.
void set_mean (Float mean)
 Set the mean for the HarmonicUpperBound.
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)

Member Function Documentation

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

Set the spring constant for the HarmonicUpperBound.

The default k is 1.

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

Set the mean for the HarmonicUpperBound.

The default mean is 0.

void IMP::restrainer::SimpleDistance::set_standard_deviation ( Float  sd)

Set the standard deviation for the HarmonicUpperBound.


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 files:

Generated on Tue May 22 2012 23:33:37 for IMP by doxygen 1.8.1