Rosetta 3.4
|
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>
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 | |
IndependentBBTorsionSRFD & | operator= (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? |
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).
core::fragment::IndependentBBTorsionSRFD::IndependentBBTorsionSRFD | ( | ) |
core::fragment::IndependentBBTorsionSRFD::IndependentBBTorsionSRFD | ( | Size const | n_bbtorsions, |
char const | secstruct, | ||
char const | sequence | ||
) |
constructor
[in] | n_bbtorsions | Number of backbone torsions. |
[in] | secstruct | The single character secondary structure type. |
[in] | sequence | The single character sequence type. |
core::fragment::IndependentBBTorsionSRFD::IndependentBBTorsionSRFD | ( | IndependentBBTorsionSRFD const & | rval | ) |
copy constructor
core::fragment::IndependentBBTorsionSRFD::~IndependentBBTorsionSRFD | ( | ) | [virtual] |
default destructor
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
[in] | movemap | Check for moveable torsions in this MoveMap. |
[in,out] | pose | The Pose to modify. |
[in] | seqpos | Insert at this sequence position. |
SecstructSRFD::apply()
succeeded, otherwise false.[in] | movemap | Check for moveable torsions in this MoveMap. |
[in,out] | pose | The Pose to modify. |
[in] | seqpos | Insert at this sequence position. |
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?
[in] | movemap | Check for moveable torsions in this MoveMap. |
[in] | seqpos | Check at this sequence position. |
SecstructSRFD::is_applicable()
, otherwise False.[in] | movemap | Check for moveable torsions in this MoveMap. |
[in] | seqpos | Check at this sequence position. |
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=().