Rosetta
Public Member Functions | Private Attributes | List of all members
protocols::simple_moves::bb_sampler::SmallBBSampler Class Reference

A bb sampler that samples within a range of a starting angle. Similar to small mover. Samples an angle +/- the current angle. If angle max is not set, will sample any angle. More...

#include <SmallBBSampler.hh>

Inheritance diagram for protocols::simple_moves::bb_sampler::SmallBBSampler:
Inheritance graph
[legend]

Public Member Functions

 SmallBBSampler ()
 
 SmallBBSampler (core::Real all_ss_angle_max)
 
 SmallBBSampler (core::id::MainchainTorsionType torsion_type)
 
 SmallBBSampler (core::id::MainchainTorsionType torsion_type, core::Real all_ss_angle_max)
 
core::Real get_torsion (core::pose::Pose const &pose, core::Size resnum) const override
 
void set_torsion_to_pose (core::pose::Pose &pose, core::Size resnum) const override
 Set torsions to pose. More...
 
void set_angle_max (core::Angle const angle)
 Sets the maximum angle of perturbation, independent of secondary structure. new_angle = old_angle +/- ( angle_max/2 ) More...
 
void set_angle_max (char const type, core::Angle const angle)
 Sets the max angle of perturbation for residues with <type> secondary structure. (<type> must be 'H', 'E', or 'L'.) new_angle = old_angle +/- ( angle_max/2 ) More...
 
void set_angle_max (std::map< char, core::Angle > angle_max_in)
 Sets the max angle of perturbation, for secondary structures 'H', 'E', and 'L'. new_angle = old_angle +/- ( angle_max/2 ) More...
 
core::Real get_angle_max (char const type) const
 Gets the max angle of perturbation for residues with <type> secondary structure. (<type> must be 'H', 'E', or 'L'.) More...
 
 SmallBBSampler (SmallBBSampler const &src)
 
 ~SmallBBSampler () override
 
SmallBBSamplerOP clone () const
 
std::string get_name () const override
 
- Public Member Functions inherited from protocols::simple_moves::bb_sampler::BBDihedralSampler
 BBDihedralSampler ()
 
 BBDihedralSampler (core::id::MainchainTorsionType torsion_type, BBSampleType sampling_type=probability)
 
 BBDihedralSampler (BBDihedralSampler const &src)
 
 ~BBDihedralSampler () override
 
BBDihedralSamplerOP clone () const
 
- Public Member Functions inherited from protocols::simple_moves::bb_sampler::BBDihedralSamplerBase
 BBDihedralSamplerBase ()
 
 BBDihedralSamplerBase (core::id::MainchainTorsionType torsion_type, BBSampleType sampling_type=probability)
 
 BBDihedralSamplerBase (BBDihedralSamplerBase const &src)
 
 ~BBDihedralSamplerBase () override
 
BBDihedralSamplerBaseOP clone () const
 
void set_torsion_type (core::id::MainchainTorsionType torsion_type)
 Set the torsion type we will be querying. More...
 
core::Size get_torsion_type () const
 
void set_sample_type (BBSampleType sampling_type)
 Set the sampling type. Default is to sample probabilistically on the data. More...
 

Private Attributes

std::map< char, core::Angleangle_max_
 max allowed angle-change as a function of ss type More...
 

Additional Inherited Members

- Protected Attributes inherited from protocols::simple_moves::bb_sampler::BBDihedralSamplerBase
core::id::MainchainTorsionType torsion_type_
 
BBSampleType sampling_type_
 

Detailed Description

A bb sampler that samples within a range of a starting angle. Similar to small mover. Samples an angle +/- the current angle. If angle max is not set, will sample any angle.

new_angle = old_angle +/- ( angle_max/2 )

Constructor & Destructor Documentation

◆ SmallBBSampler() [1/5]

protocols::simple_moves::bb_sampler::SmallBBSampler::SmallBBSampler ( )

References set_angle_max().

◆ SmallBBSampler() [2/5]

protocols::simple_moves::bb_sampler::SmallBBSampler::SmallBBSampler ( core::Real  all_ss_angle_max)

References set_angle_max().

◆ SmallBBSampler() [3/5]

protocols::simple_moves::bb_sampler::SmallBBSampler::SmallBBSampler ( core::id::MainchainTorsionType  torsion_type)

◆ SmallBBSampler() [4/5]

protocols::simple_moves::bb_sampler::SmallBBSampler::SmallBBSampler ( core::id::MainchainTorsionType  torsion_type,
core::Real  all_ss_angle_max 
)

◆ SmallBBSampler() [5/5]

protocols::simple_moves::bb_sampler::SmallBBSampler::SmallBBSampler ( SmallBBSampler const &  src)
default

◆ ~SmallBBSampler()

protocols::simple_moves::bb_sampler::SmallBBSampler::~SmallBBSampler ( )
overridedefault

Member Function Documentation

◆ clone()

SmallBBSamplerOP protocols::simple_moves::bb_sampler::SmallBBSampler::clone ( ) const

◆ get_angle_max()

core::Real protocols::simple_moves::bb_sampler::SmallBBSampler::get_angle_max ( char const  type) const

Gets the max angle of perturbation for residues with <type> secondary structure. (<type> must be 'H', 'E', or 'L'.)

Example: bbmover.angle_max('H')

See also: ShearMover SmallMover

References angle_max_.

Referenced by get_torsion().

◆ get_name()

std::string protocols::simple_moves::bb_sampler::SmallBBSampler::get_name ( ) const
inlineoverridevirtual

◆ get_torsion()

core::Real protocols::simple_moves::bb_sampler::SmallBBSampler::get_torsion ( core::pose::Pose const &  pose,
core::Size  resnum 
) const
overridevirtual

◆ set_angle_max() [1/3]

void protocols::simple_moves::bb_sampler::SmallBBSampler::set_angle_max ( char const  type,
core::Angle const  angle 
)

Sets the max angle of perturbation for residues with <type> secondary structure. (<type> must be 'H', 'E', or 'L'.) new_angle = old_angle +/- ( angle_max/2 )

Example: bbmover.angle_max('H', 25)

See also: ShearMover SmallMover

References angle_max_.

◆ set_angle_max() [2/3]

void protocols::simple_moves::bb_sampler::SmallBBSampler::set_angle_max ( core::Angle const  angle)

Sets the maximum angle of perturbation, independent of secondary structure. new_angle = old_angle +/- ( angle_max/2 )

Example: bbmover.angle_max(25) See also: ShearMover SmallMover

References set_angle_max().

Referenced by set_angle_max(), and SmallBBSampler().

◆ set_angle_max() [3/3]

void protocols::simple_moves::bb_sampler::SmallBBSampler::set_angle_max ( std::map< char, core::Angle angle_max_in)

Sets the max angle of perturbation, for secondary structures 'H', 'E', and 'L'. new_angle = old_angle +/- ( angle_max/2 )

References angle_max_.

◆ set_torsion_to_pose()

void protocols::simple_moves::bb_sampler::SmallBBSampler::set_torsion_to_pose ( core::pose::Pose pose,
core::Size  resnum 
) const
overridevirtual

Member Data Documentation

◆ angle_max_

std::map< char, core::Angle > protocols::simple_moves::bb_sampler::SmallBBSampler::angle_max_
private

max allowed angle-change as a function of ss type

Referenced by get_angle_max(), and set_angle_max().


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