Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Protocol.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 relax_initialization_protocols
11 /// @brief initialization protocols for relax
12 /// @detailed
13 /// Contains currently: Classic Abinitio
14 ///
15 ///
16 /// @author Oliver Lange
17 /// @author James Thompson
18 /// @author Mike Tyka
19 
20 
21 #ifndef INCLUDED_protocols_abinitio_Protocol_hh
22 #define INCLUDED_protocols_abinitio_Protocol_hh
23 
24 
25 // Unit Headers
27 
28 // Package Headers
29 #include <protocols/moves/Mover.hh>
34 
35 // Project Headers
36 // AUTO-REMOVED #include <protocols/moves/BoolMover.hh>
38 #include <utility/vector1.hh>
39 #include <utility/exit.hh>
40 
41 
42 namespace protocols {
43 namespace abinitio {
44 
45 class Protocol : public moves::Mover {
46 public:
47  typedef Mover BaseClass;
48  // typedef utility::vector1 < core::pose::Pose > StructureStore;
49 
50  Protocol();
51  ~Protocol() {};
52 
53  virtual
54  void init( core::pose::Pose const& ) {};
55  /*{
56  bInitialized_ = true;
57  };*/
58 
59  void
61 
62  void
64 
65  void
67 
69  if ( !evaluator_ ) {
71  }
72  return evaluator_;
73  }
74 
75  virtual void output_debug_structure( core::pose::Pose & pose, std::string prefix );
76 
78  kinematic_control_ = kc;
79  }
80 
82  runtime_assert( kinematic_control_ );
83  return *kinematic_control_;
84  }
85 
86  virtual bool start_from_centroid() const {
87  return true;
88  }
89 
90  virtual bool return_centroid() const {
91  return return_centroid_;
92  }
93 
94  virtual void return_centroid( bool setting ) {
95  return_centroid_ = setting;
96  }
97 
98  virtual void apply( core::pose::Pose& );
99  virtual std::string get_name() const;
100 
101  // virtual StructureStore const& structure_store() const {
102  //return structure_store_;
103  // }
104 
105 // virtual StructureStore& structure_store() {
106 // return structure_store_;
107 // }
108 
110  scorefxn_fa_ = sfxn;
111  }
112 
114  scorefxn_centroid_ = sfxn;
115  }
116 
119  }
120 
122  return scorefxn_fa_;
123  }
124 
126  return scorefxn_centroid_;
127  }
128 
129  static void register_options();
130 
131 private:
133 
134 public:
136 
137 
138 private:
141  //@brief initialized_ is true if init() has been called, false otherwise.
142  // bool bInitialized_;
143 
144  // StructureStore structure_store_;
145 
148 
150 
151  //fast fix until the new JobDist/Mover is introduced:
153 
154 };
155 
156 }
157 }
158 
159 #endif