Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FlexbbSimAnnealer.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/flexpack/annealer/FlexbbSimAnnealer
11 /// @brief
12 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13 
14 #ifndef INCLUDED_protocols_flexpack_annealer_FlexbbSimAnnealer_hh
15 #define INCLUDED_protocols_flexpack_annealer_FlexbbSimAnnealer_hh
16 
17 /// Unit headers
19 
20 /// Package headers
23 
24 /// Project headers
26 
27 #include <utility/vector1.fwd.hh>
28 
29 
30 
31 namespace protocols {
32 namespace flexpack {
33 namespace annealer {
34 
36 {
37 public:
39  typedef core::Size Size;
41 
42 public:
44  ObjexxFCL::FArray1D_int & bestrotamer_at_seqpos,
46  bool start_with_current, // start simulation with current rotamers
49  ObjexxFCL::FArray1D_int & current_rot_index,
50  bool calc_rot_freq,
51  ObjexxFCL::FArray1D< PackerEnergy > & rot_freq
52  );
53 
54  virtual ~FlexbbSimAnnealer();
55 
56  void run();
57 
58 protected:
59 
60  Size
62  Size outercycle,
63  Size innercycle,
64  Size cycle_number,
65  utility::vector1< Size > & accessible_state_list
66  ) const;
67 
68  bool
70  PackerEnergy previous_fragmentE,
71  PackerEnergy deltaE,
72  Size num_changing_nodes
73  ) const;
74 
75 private:
76 
79 
81 
82 };
83 
84 
85 }
86 }
87 }
88 
89 #endif