Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MPI_LoopHashRefine_Master.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 protocols/loophash/MPI_LoopHashRefine_Master.hh
11 /// @brief
12 /// @author Mike Tyka
13 
14 #ifndef INCLUDED_protocols_loophash_MPI_LoopHashRefine_Master_hh
15 #define INCLUDED_protocols_loophash_MPI_LoopHashRefine_Master_hh
16 
20 // AUTO-REMOVED #include <protocols/loophash/LoopHashSampler.fwd.hh>
21 // AUTO-REMOVED #include <protocols/loophash/LocalInserter.fwd.hh>
22 
23 #include <core/types.hh>
24 // AUTO-REMOVED #include <core/pose/Pose.hh>
25 #include <utility/vector1.hh>
27 // AUTO-REMOVED #include <core/io/silent/ProteinSilentStruct.hh>
28 #include <string>
29 #include <vector>
30 
31 namespace protocols {
32 namespace loophash {
33 
34 
36 public:
39  MPI_LoopHashRefine( 'M' ),
40  my_emperor_( my_emperor ),
41  master_rank_( master_rank )
42  {
43  set_defaults();
44  }
45 
47 
48  void set_defaults();
49 
50 public:
51  virtual void go();
52 
53 protected: // overloaded functions
54 
55  virtual void init();
56 
57  virtual void process_inbound_wus();
58 
59  virtual void process_outbound_wus();
60 
61 protected: // Added functions
62 
63  void create_loophash_WUs( const core::io::silent::SilentStructOP &start_struct );
64 
66 
68 
69  void load_sample_weight();
70 
71  virtual bool add_structure_to_library( core::io::silent::SilentStruct &pss, std::string add_algorithm = "" );
72 
74 
76 
78 
79 protected: // Accesors
80 
82 
84 private:
85 
86  // parameters
95  // local store
97 
98  // sampling weight (is not constant!)
100 
101  // static settings
104 
106 };
107 
108 
109 
110 } // namespace loops
111 } // namespace protocols
112 
113 
114 
115 #endif
116 
117 
118 
119