Rosetta Protocols  2014.35
Public Member Functions | Private Types | List of all members
protocols::nonlocal::UniformPolicy Class Reference

#include <UniformPolicy.hh>

Public Member Functions

 UniformPolicy (FragSetCOP fragments)
 Provides derived classes with the opportunity to precompute various properties of the fragment set from which they will have to make choices. More...
 
virtual core::Size choose (const core::fragment::Frame &frame, const core::pose::Pose &)
 Selects uniformly among the set of possible fragments in <frame> More...
 
- Public Member Functions inherited from protocols::nonlocal::Policy
 Policy (FragSetCOP fragments)
 Provides derived classes with the opportunity to precompute various properties of the fragment set from which they will have to make choices. More...
 
FragSetCOP fragments () const
 

Private Types

typedef core::fragment::FragSetCOP FragSetCOP
 

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::nonlocal::UniformPolicy::UniformPolicy ( FragSetCOP  fragments)
explicit

Provides derived classes with the opportunity to precompute various properties of the fragment set from which they will have to make choices.

Member Function Documentation

core::Size protocols::nonlocal::UniformPolicy::choose ( const core::fragment::Frame frame,
const core::pose::Pose  
)
virtual

Selects uniformly among the set of possible fragments in <frame>

Implements protocols::nonlocal::Policy.

References core::fragment::Frame::nr_frags(), numeric::random::RandomGenerator::random_range(), and protocols::nonlocal::RG.


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