Rosetta Protocols  2014.35
Public Member Functions | Private Attributes | List of all members
protocols::kinematic_closure::pivot_pickers::StandardPivots Class Reference

Randomly pick pivots in a way that may or may not span the whole loop. More...

#include <StandardPivots.hh>

Public Member Functions

 StandardPivots ()
 Default constructor. More...
 
Loop pick (Pose const &pose, Loop const &loop)
 Return a loop object. The pivots will be taken to be the start, cut and stop residues. More...
 

Private Attributes

Size counter_
 

Detailed Description

Randomly pick pivots in a way that may or may not span the whole loop.

This is the default pivot picking algorithm used by samplers::KicMover. It works well for most applications, and should only really need to be swapped out in in favor of custom pivot pickers that take into account specific knowledge of the loop being sampled. Earlier versions of this algorithm were biased towards the fount half of the loop. This bias has been mitigated, but not completely removed, in the current version.

Constructor & Destructor Documentation

protocols::kinematic_closure::pivot_pickers::StandardPivots::StandardPivots ( )
inline

Default constructor.

Member Function Documentation

Loop protocols::kinematic_closure::pivot_pickers::StandardPivots::pick ( Pose const &  pose,
Loop const &  loop 
)
virtual

Return a loop object. The pivots will be taken to be the start, cut and stop residues.

Implements protocols::kinematic_closure::pivot_pickers::PivotPicker.

References max(), min, numeric::random::random_range(), random_range(), runtime_assert, protocols::loops::Loop::start(), and protocols::loops::Loop::stop().

Member Data Documentation

Size protocols::kinematic_closure::pivot_pickers::StandardPivots::counter_
private

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