![]() |
Rosetta Protocols
2014.35
|
Randomly pick pivots which are always offset by the same amount, but which can appear anywhere in the loop. More...
#include <FixedOffsetPivots.hh>
Public Member Functions | |
FixedOffsetPivots (Size offset=5) | |
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 | offset_ |
Randomly pick pivots which are always offset by the same amount, but which can appear anywhere in the loop.
|
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 numeric::random::random_range(), random_range(), protocols::loops::Loop::start(), and protocols::loops::Loop::stop().
|
private |