41 #include <ObjexxFCL/format.hh>
47 #include <utility/vector1.hh>
50 using ObjexxFCL::fmt::F;
61 moving_residues_( moving_residues )
70 moving_residues_( moving_residues )
84 return "StepWiseProteinPoseMinimizer";
90 Mover::type(
"StepWiseProteinPoseMinimizer" );
103 using namespace core::pose;
104 using namespace core::io::silent;
108 PoseOP & pose_op( iter->second );
118 using namespace core::optimization;
119 using namespace core::scoring;
120 using namespace core::scoring::constraints;
121 using namespace core::pose;
122 using namespace core::io::silent;
124 clock_t
const time_start( clock() );
132 bool const use_nblist(
true );
153 while ( input.has_another_pose() ) {
157 input.fill_pose( pose );
163 Real const score_original = (*fa_scorefxn_)( pose );
186 if ( linear_chainbreak_weight_original < 20.0 ) std::cout <<
"WARNING!! Your linear_chainbreak weight is " << F(8,3,linear_chainbreak_weight_original ) <<
", which is less than recommended (20.0) " << std::endl;
202 std::cout <<
"Score minimized from " <<F(8,3, score_original) <<
" to " << F(8,3,(*
fa_scorefxn_)( pose )) << std::endl;
213 std::cout <<
"Total time in StepWiseProteinPoseMinimizer: " <<
214 static_cast<Real>(clock() - time_start) / CLOCKS_PER_SEC << std::endl;
224 using namespace core::scoring;
226 (*fa_scorefxn_)( pose );
234 iter = energy_graph.get_node( i )->const_edge_list_begin();
238 Size j( (*iter)->get_other_ind( i ) );