![]() |
Rosetta Protocols
2014.35
|
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_ |
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.
|
inline |
Default constructor.
|
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().
|
private |