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

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_
 

Detailed Description

Randomly pick pivots which are always offset by the same amount, but which can appear anywhere in the loop.

Constructor & Destructor Documentation

protocols::kinematic_closure::pivot_pickers::FixedOffsetPivots::FixedOffsetPivots ( Size  offset = 5)
inline

Default constructor.

Member Function Documentation

Loop protocols::kinematic_closure::pivot_pickers::FixedOffsetPivots::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 numeric::random::random_range(), random_range(), protocols::loops::Loop::start(), and protocols::loops::Loop::stop().

Member Data Documentation

Size protocols::kinematic_closure::pivot_pickers::FixedOffsetPivots::offset_
private

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