Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DockingLowRes.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 DockinLowRes
11 /// @brief low resolution mode for docking
12 /// @detailed
13 /// @author Monica Berrondo
14 /// @author Modified by Sergey Lyskov
15 
16 
17 #ifndef INCLUDED_protocols_docking_DockingLowRes_hh
18 #define INCLUDED_protocols_docking_DockingLowRes_hh
19 
22 
23 
24 // Package headers
26 #include <core/pose/Pose.fwd.hh>
28 
29 
32 #include <protocols/moves/Mover.hh>
34 // AUTO-REMOVED #include <protocols/filters/Filter.hh>
35 // AUTO-REMOVED #include <protocols/simple_filters/ScoreCutoffFilter.hh>
36 
37 #include <string>
38 
39 
40 
41 // option key includes
42 
43 // AUTO-REMOVED #include <basic/options/keys/docking.OptionKeys.gen.hh>
44 
45 #include <utility/vector1.hh>
46 #include <iostream>
47 
48 
49 
50 namespace protocols {
51 namespace docking {
52 
54 {
55  //typedef core::Real Real;
56 public:
57 
58  /// @brief Default constructor
59  DockingLowRes();
60 
61  // destructor
63 
64  /// @brief Constructor with two arguments. The first is scorefunction to be used for docking, the second is the
65  /// jump to dock over.
68  core::Size const rb_jump=1
69  );
70 
71  /// @brief Constructor with two arguments. The first is scorefunction to be used for docking, the second is the
72  /// DockJumps.
75  DockJumps const movable_jumps
76  );
77 
79 
80  /// @brief Assigns default values to primitive members
81  void set_default();
83 
84  /// @brief Instantiates non-primitive members based on the value of the primitive members
86 
88 
89  // protocol functions
90  virtual void apply( core::pose::Pose & pose );
91  virtual std::string get_name() const;
92 
93  /// @brief Perform a cycle of rigid-body Monte Carlo moves
94  void rigid_body_trial( core::pose::Pose & pose );
95 
96  // option setters
97  void set_inner_cycles( core::Size inner_cycles ) { inner_cycles_=inner_cycles; }
98  void set_outer_cycles( core::Size outer_cycles ) { outer_cycles_=outer_cycles; }
99 
100 
101 
102  virtual void show( std::ostream & out=std::cout ) const;
103  friend std::ostream & operator<<(std::ostream& out, const DockingLowRes & dp );
104 
107 
108  // Add by dK
109  // docking
111 
112  // Add by DK
115 
116 protected:
117  /// @brief Performs the portion of setup of non-primitive members that requires a pose - called on apply
118  virtual void finalize_setup( core::pose::Pose & pose);
119 
120 private:
121  // protocol stuff
122  //core::scoring::ScoreFunctionCOP scorefxn_;
126 
127  // Comment out by DK
128  // docking
129  //DockJumps movable_jumps_;
132  bool chi_, bb_, nb_list_;
134 
135  /// @brief Sets up the instance of DockingLowRes and initializes all members based on values passed in at construction
136  /// or via the command line.
137  void init(
138  DockJumps const movable_jumps,
140  );
141 };
142 
143 } // docking
144 } // protocols
145 
146 #endif