Rosetta 3.4
Public Types | Public Member Functions
core::fragment::IndependentBBTorsionSRFD Class Reference

A version of BBTorsionSRFD that considers each torsion independently during is_applicable() and apply() calls when passed a MoveMap (vs the all-torsions-must-be-moveable-or-nothing-is behavior in the original BBTorsionSRFD). More...

#include <IndependentBBTorsionSRFD.hh>

Inheritance diagram for core::fragment::IndependentBBTorsionSRFD:
Inheritance graph
[legend]
Collaboration diagram for core::fragment::IndependentBBTorsionSRFD:
Collaboration graph
[legend]

List of all members.

Public Types

typedef core::Size Size
typedef core::kinematics::MoveMap MoveMap
typedef core::pose::Pose Pose

Public Member Functions

 IndependentBBTorsionSRFD ()
 default constructor
 IndependentBBTorsionSRFD (Size const n_bbtorsions, char const secstruct, char const sequence)
 constructor
 IndependentBBTorsionSRFD (IndependentBBTorsionSRFD const &rval)
 copy constructor
virtual ~IndependentBBTorsionSRFD ()
 default destructor
IndependentBBTorsionSRFDoperator= (IndependentBBTorsionSRFD const &rval)
 copy assignment
virtual SingleResidueFragDataOP clone () const
 clone this object
virtual SingleResidueFragDataOP create () const
 create a new instance of this object
virtual bool apply (MoveMap const &movemap, Pose &pose, Size const seqpos) const
 apply only torsions in this fragment marked as moveable in the given MoveMap
virtual bool is_applicable (MoveMap const &movemap, Size seqpos) const
 is at least one torsion marked as moveable in the given MoveMap?

Detailed Description

A version of BBTorsionSRFD that considers each torsion independently during is_applicable() and apply() calls when passed a MoveMap (vs the all-torsions-must-be-moveable-or-nothing-is behavior in the original BBTorsionSRFD).


Member Typedef Documentation


Constructor & Destructor Documentation

core::fragment::IndependentBBTorsionSRFD::IndependentBBTorsionSRFD ( )

default constructor

Referenced by clone(), and create().

core::fragment::IndependentBBTorsionSRFD::IndependentBBTorsionSRFD ( Size const  n_bbtorsions,
char const  secstruct,
char const  sequence 
)

constructor

Parameters:
[in]n_bbtorsionsNumber of backbone torsions.
[in]secstructThe single character secondary structure type.
[in]sequenceThe single character sequence type.
core::fragment::IndependentBBTorsionSRFD::IndependentBBTorsionSRFD ( IndependentBBTorsionSRFD const &  rval)

copy constructor

core::fragment::IndependentBBTorsionSRFD::~IndependentBBTorsionSRFD ( ) [virtual]

default destructor


Member Function Documentation

bool core::fragment::IndependentBBTorsionSRFD::apply ( MoveMap const &  movemap,
Pose pose,
Size const  seqpos 
) const [virtual]

apply only torsions in this fragment marked as moveable in the given MoveMap

Parameters:
[in]movemapCheck for moveable torsions in this MoveMap.
[in,out]poseThe Pose to modify.
[in]seqposInsert at this sequence position.
Returns:
True if at least one torsion inserted and second level superclass SecstructSRFD::apply() succeeded, otherwise false.
Parameters:
[in]movemapCheck for moveable torsions in this MoveMap.
[in,out]poseThe Pose to modify.
[in]seqposInsert at this sequence position.
Returns:
True if at least one torsion inserted and second level superclass SecstructSRFD::apply() succeeded, otherwise false.

Skips the initial call to primary superclass BBTorsionSRFD::apply() because it contains all-or-nothing behavior we want to override. Instead will go directly to second level SecstructSRFD::apply(), and afterwards execute the rest of the procedure.

Reimplemented from core::fragment::BBTorsionSRFD.

References core::fragment::SecstructSRFD::apply(), core::id::BB, core::kinematics::MoveMap::get(), core::fragment::BBTorsionSRFD::nbb(), core::pose::Pose::set_torsion(), and core::fragment::BBTorsionSRFD::torsion().

SingleResidueFragDataOP core::fragment::IndependentBBTorsionSRFD::clone ( ) const [virtual]

clone this object

Reimplemented from core::fragment::BBTorsionSRFD.

References IndependentBBTorsionSRFD().

SingleResidueFragDataOP core::fragment::IndependentBBTorsionSRFD::create ( ) const [virtual]

create a new instance of this object

Reimplemented from core::fragment::BBTorsionSRFD.

References IndependentBBTorsionSRFD().

bool core::fragment::IndependentBBTorsionSRFD::is_applicable ( MoveMap const &  movemap,
Size  seqpos 
) const [virtual]

is at least one torsion marked as moveable in the given MoveMap?

Parameters:
[in]movemapCheck for moveable torsions in this MoveMap.
[in]seqposCheck at this sequence position.
Returns:
True if at least one torsion moveable and second level superclass SecstructSRFD::is_applicable(), otherwise False.
Parameters:
[in]movemapCheck for moveable torsions in this MoveMap.
[in]seqposCheck at this sequence position.
Returns:
True if at least one torsion moveable and second level superclass SecstructSRFD::is_applicable(), otherwise False.

Skips the initial call to primary superclass BBTorsionSRFD::is_applicable() because it contains all-or-nothing behavior we want to override. Instead will go directly to second level SecstructSRFD::is_applicable(), and afterwards execute the rest of the procedure.

Reimplemented from core::fragment::BBTorsionSRFD.

References core::id::BB, core::kinematics::MoveMap::get(), core::fragment::SecstructSRFD::is_applicable(), and core::fragment::BBTorsionSRFD::nbb().

IndependentBBTorsionSRFD & core::fragment::IndependentBBTorsionSRFD::operator= ( IndependentBBTorsionSRFD const &  rval)

copy assignment

References core::fragment::BBTorsionSRFD::operator=().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines