Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StepWiseProteinPoseMinimizer.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file SWA_PoseMinimizer.hh
11 /// @brief
12 /// @detailed
13 ///
14 /// @author Rhiju Das
15 
16 
17 #ifndef INCLUDED_protocols_swa_protein_StepWiseProteinPoseMinimizer_HH
18 #define INCLUDED_protocols_swa_protein_StepWiseProteinPoseMinimizer_HH
19 
20 #include <core/pose/Pose.fwd.hh>
22 #include <core/types.hh>
24 #include <utility/vector1.fwd.hh>
25 #include <utility/vector1.hh>
28 #include <protocols/moves/Mover.hh>
29 #include <string>
30 #include <map>
31 
32 namespace protocols {
33 namespace swa {
34 namespace protein {
35 
36  /////////////////////////////////////////////////////////////////////////////////////////////////
37  /////////////////////////////////////////////////////////////////////////////////////////////////
39  public:
40 
41  //constructor!
43 
44  StepWiseProteinPoseMinimizer( PoseList & pose_list, utility::vector1< Size > const & moving_residues );
45 
46  //destructor -- necessary?
48 
49  /// @brief Apply the minimizer to one pose
50  virtual void apply( core::pose::Pose & pose_to_visualize );
51 
52  virtual std::string get_name() const;
53 
54  void set_silent_file( std::string const & setting );
55  void set_min_tolerance( core::Real const & setting );
56  void set_min_type( std::string const & setting );
57  void set_fixed_res( utility::vector1< core::Size > const & fixed_res );
58  void set_calc_rms_res( utility::vector1< core::Size > const & calc_rms_res );
59 
60  void
61  set_scorefxn( core::scoring::ScoreFunctionOP const & scorefxn );
62 
63  void
64  set_move_takeoff_torsions( bool const value ){ move_takeoff_torsions_ = value; }
65 
66  void
67  set_rescore_only( bool const & setting ){ rescore_only_ = setting; }
68 
69  void
70  set_move_jumps_between_chains( bool const & setting ){ move_jumps_between_chains_ = setting; }
71 
72  // void
73  // set_constraint_set( core::scoring::constraints::ConstraintSetOP const & cst_set );
74 
76 
77  private:
78 
79  void
81 
82  void
84 
85  void
88  core::pose::Pose & pose );
89 
90  bool
91  pose_has_chainbreak( core::pose::Pose const & pose );
92 
101 
103 
105 
108 
109  };
110 
111 } //swa
112 } // protocols
113 
114 }
115 #endif