![]() |
Rosetta Core
2014.35
|
#include <RotamerAssigningAnnealer.hh>
Public Types | |
typedef rotamer_set::FixbbRotamerSetsCOP | FixbbRotamerSetsCOP |
![]() | |
typedef rotamer_set::RotamerSetsBaseCOP | RotamerSetsBaseCOP |
Protected Member Functions | |
FixbbRotamerSetsCOP | rotamer_sets () const |
utility::vector0< int > const & | rot_to_pack () const |
![]() | |
Size | num_rots_to_pack () const |
void | num_rots_to_pack (Size setting) |
ObjexxFCL::FArray1D_int & | bestrotamer_at_seqpos () |
ObjexxFCL::FArray1D_int const & | bestrotamer_at_seqpos () const |
core::PackerEnergy & | bestenergy () |
bool | start_with_current () const |
ObjexxFCL::FArray1_int & | current_rot_index () |
ObjexxFCL::FArray1_int const & | current_rot_index () const |
bool & | calc_rot_freq () |
bool | calc_rot_freq () const |
ObjexxFCL::FArray1D < core::PackerEnergy > & | rot_freq () |
ObjexxFCL::FArray1D < core::PackerEnergy > const & | rot_freq () const |
core::PackerEnergy | get_hightemp () const |
core::PackerEnergy | get_lowtemp () const |
void | clear () |
Private Member Functions | |
void | setup_rots_for_node (FixbbRotamerSetsCOP rotamer_sets) |
Additional Inherited Members | |
![]() | |
static const core::PackerEnergy | hightemp = 100.0 |
static const core::PackerEnergy | lowtemp = 0.3 |
static const int | maxouteriterations = 500 |
static const core::PackerEnergy | calc_freq_temp = 1.0 |
typedef rotamer_set::FixbbRotamerSetsCOP core::pack::annealer::RotamerAssigningAnnealer::FixbbRotamerSetsCOP |
core::pack::annealer::RotamerAssigningAnnealer::RotamerAssigningAnnealer | ( | int | num_of_rot_to_pack, |
ObjexxFCL::FArray1D_int & | bestrotamer_at_seqpos, | ||
core::PackerEnergy & | bestenergy, | ||
bool | start_with_current, | ||
FixbbRotamerSetsCOP | p_rotamer_set, | ||
ObjexxFCL::FArray1_int & | current_rot_index, | ||
bool | calc_rot_freq, | ||
ObjexxFCL::FArray1D< core::PackerEnergy > & | rot_freq | ||
) |
core::pack::annealer::RotamerAssigningAnnealer::RotamerAssigningAnnealer | ( | utility::vector0< int > & | rot_to_pack, |
int | num_of_rot_to_pack, | ||
ObjexxFCL::FArray1D_int & | bestrotamer_at_seqpos, | ||
core::PackerEnergy & | bestenergy, | ||
bool | start_with_current, | ||
FixbbRotamerSetsCOP | p_rotamer_set, | ||
ObjexxFCL::FArray1_int & | current_rot_index, | ||
bool | calc_rot_freq, | ||
ObjexxFCL::FArray1D< core::PackerEnergy > & | rot_freq | ||
) |
|
virtual |
pick a rotamer from a list
if no rotamer is available, return a nonsense number, like -1
References assign_state_to_all_nodes_immediately_, core::pack::annealer::SimAnnealerBase::current_rot_index(), current_to_pick_, core::pack::annealer::SimAnnealerBase::get_start_with_current(), mod(), n_assigned_at_start_, core::pack::annealer::SimAnnealerBase::num_rots_to_pack(), pick_a_rotamer_for_node(), core::pack::annealer::SimAnnealerBase::quench(), numeric::random::random_permutation(), core::pack::annealer::RG, rot_to_pack_, rots_for_nodes_, core::io::serialization::size(), and numeric::random::RandomGenerator::uniform().
Referenced by core::pack::annealer::FixbbSimAnnealer::run(), core::pack::annealer::FixbbCoupledRotamerSimAnnealer::run(), core::pack::annealer::MultiCoolAnnealer::run_constant_temp_rotamer_substitutions(), and core::pack::annealer::FASTERAnnealer::run_quench_cycles().
References core::pack::annealer::RG, rots_for_nodes_, and numeric::random::RandomGenerator::uniform().
Referenced by pick_a_rotamer(), and core::pack::annealer::MultiCoolAnnealer::run().
|
protected |
|
protected |
References rotamer_sets_.
Referenced by core::pack::annealer::DebuggingAnnealer::run(), core::pack::annealer::MultiCoolAnnealer::run(), core::pack::annealer::FixbbSimAnnealer::run(), core::pack::annealer::FixbbLinkingRotamerSimAnnealer::run(), core::pack::annealer::FixbbCoupledRotamerSimAnnealer::run(), core::pack::annealer::MultiCoolAnnealer::run_constant_temp_rotamer_substitutions(), core::pack::annealer::FixbbCoupledRotamerSimAnnealer::setup_rotamer_couplings(), core::pack::annealer::FixbbLinkingRotamerSimAnnealer::setup_rotamer_links(), and core::pack::annealer::MultiCoolAnnealer::store_top_energy().
void core::pack::annealer::RotamerAssigningAnnealer::set_assign_state_to_all_nodes_immediately | ( | bool | setting | ) |
References assign_state_to_all_nodes_immediately_.
Referenced by core::pack::annealer::FASTERAnnealer::run().
|
private |
if you want to make a single rotamer substitution for a single node then you'll want to grab a random rotamer for that node – this function creates a mapping from moltenres id to the set of accessible rotamers for that moltenres. It also makes sure that the user has provided a valid set of rotamers: each molten residue must have at least one pickable rotamer, or the final rotamer assignment will have some molten residues in an unassigned state. Bad user input is most common when the annealer is constructed using the rot_to_pack vector.
References rot_to_pack_, rots_for_nodes_, and utility_exit.
|
private |
Referenced by pick_a_rotamer(), and set_assign_state_to_all_nodes_immediately().
|
private |
Referenced by pick_a_rotamer().
|
private |
Referenced by pick_a_rotamer().
|
private |
Referenced by pick_a_rotamer(), rot_to_pack(), and setup_rots_for_node().
|
private |
Referenced by rotamer_sets().
|
private |
Referenced by pick_a_rotamer(), pick_a_rotamer_for_node(), and setup_rots_for_node().