Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CDRsMinPackMin.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
6 // (c) under license. The Rosetta software is developed by the contributing
7 // (c) members of the Rosetta Commons. For more information, see
8 // (c) http://www.rosettacommons.org. Questions about this can be addressed to
9 // (c) University of Washington UW TechTransfer, email:license@u.washington.edu
10 
11 /// @file protocols/antibody2/CDRsMinPackMin.hh
12 /// @brief Build a homology model of an antibody2
13 /// @detailed
14 ///
15 ///
16 /// @author Jianqing Xu ( xubest@gmail.com )
17 
18 
19 #ifndef INCLUDED_protocols_antibody2_CDRsMinPackMin_hh
20 #define INCLUDED_protocols_antibody2_CDRsMinPackMin_hh
21 
25 #include <core/pose/Pose.hh>
27 #include <core/types.hh>
28 #include <protocols/loops/Loops.hh>
29 #include <protocols/moves/Mover.hh>
31 
36 #include <utility/vector1.hh>
37 
38 using namespace core;
39 namespace protocols {
40 namespace antibody2 {
41 
43 public:
44 
45  CDRsMinPackMin(AntibodyInfoOP antibody_info);
46 
48  AntibodyInfoOP antibody_info,
52  );
53 
54  // default destructor
55  ~CDRsMinPackMin();
56 
57  virtual void apply( core::pose::Pose & pose );
58  virtual std::string get_name() const;
59 
60  void set_task_factory(core::pack::task::TaskFactoryCOP tf);
61  void set_move_map(core::kinematics::MoveMapCOP movemap);
62 
63  // simple inline setters
64  void set_sc_min (bool scmin) {sc_min_ = scmin ;}
65  void set_rt_min (bool rtmin) {rt_min_ = rtmin ;}
66  void set_turnoff_minimization(bool setting) {
67  turnoff_minimization_=setting;
68  }
69 
70  void show( std::ostream & out=std::cout );
71  friend std::ostream & operator<<(std::ostream& out, const CDRsMinPackMin & ab_m_2 );
72 
73 
74 private:
75  bool sc_min_;
76  bool rt_min_;
78  /// @brief refine H3 only
79  core::Real cen_cst_, high_cst_;
80 
81  // Benchmark mode for shorter_cycles
82  bool benchmark_;
84  //to update the task factory and movemap auto-ly
85 
86  void finalize_setup( core::pose::Pose & pose );
87  void init();
88  bool user_defined_; // for constructor options passed to init
89 
98 
99 
100 
101 }; // class CDRsMinPackMin
102 
103 
104 } // namespace antibody2
105 } // namespace protocols
106 
107 #endif
108