31 #include <basic/Tracer.hh>
43 static basic::Tracer
TR(
"protocols.swa.monte_carlo.rna_add_mover" ) ;
47 namespace monte_carlo {
55 scorefxn_( scorefxn ),
56 presample_added_residue_( true ),
57 start_added_residue_in_aform_( false ),
58 internal_cycles_( 50 ),
60 sample_range_small_( 5.0 ),
61 sample_range_large_( 40.0 ),
74 std::cout <<
"not defined yet" << std::endl;
82 using namespace protocols::moves;
84 Size suite_num( 0 ), nucleoside_num( 0 );
88 std::string const full_sequence = sub_to_full_info.full_sequence();
89 std::map< Size, Size > sub_to_full = sub_to_full_info.sub_to_full();
94 runtime_assert( sub_to_full[ res_to_build_off ] < sub_to_full[ res_to_build_off+1 ] -1 );
96 Size const res_to_add = res_to_build_off + 1;
98 char newrestype = full_sequence[ (sub_to_full[ res_to_build_off ] + 1) - 1 ];
111 suite_num = res_to_add-1;
112 nucleoside_num = res_to_add;
117 Size const res_to_add = res_to_build_off;
119 runtime_assert( sub_to_full[ res_to_add ] > 1 );
121 char newrestype = full_sequence[ (sub_to_full[ res_to_add ] - 1) - 1 ];
138 suite_num = res_to_add;
139 nucleoside_num = res_to_add;
158 TR.Debug <<
"presampling added residue! " << nucleoside_num <<
" over " <<
internal_cycles_ <<
" cycles " << std::endl;
166 monte_carlo_internal->boltzmann( pose, move_type );
170 monte_carlo_internal->boltzmann( pose, move_type );
179 return "RNA_AddMover";