Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FlexbbRotamerSet.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/rotamer_set/FlexbbRotamerSet.hh
11 /// @brief Declaration for a class to hold rotamers for a single backbone conformation in
12 /// a flexible packing run
13 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com), Florian Richter (floric@u.washington.edu), sep 08
14 
15 #ifndef INCLUDED_protocols_flexpack_rotamer_set_FlexbbRotamerSet_hh
16 #define INCLUDED_protocols_flexpack_rotamer_set_FlexbbRotamerSet_hh
17 
18 //Unit headers
20 
22 
24 
25 #include <utility/vector1.hh>
26 
27 
28 // Package Headers
29 
30 namespace protocols {
31 namespace flexpack {
32 namespace rotamer_set {
33 
35 {
36 
37 public:
39 
41  virtual ~FlexbbRotamerSet();
42 
43  void
45 
46  /// @brief Build rotamers that depend on positions of rotamers built in a previous pass
47  /// This function won't work...
48  virtual
50  core::pack::rotamer_set::RotamerSets const & rotamer_sets,
51  core::pose::Pose const & pose,
52  core::scoring::ScoreFunction const & scorefxn,
53  core::pack::task::PackerTask const & task,
54  core::graph::GraphCOP packer_neighbor_graph
55  );
56 
57  void
59 
60  //core::conformation::Residue const &
61  //existing_residue() const;
62 
63 
64 protected:
65 
66  /// @brief Creates a set of rotamers for a particular residue type
67  /// (the concrete residue type) while relying on the rotamer-
68  /// building instructions within the PackerTask.
69  /// Use the residue in the input pose at position resid_ as the existing residue.
70  virtual
72  core::pose::Pose const & pose,
73  core::scoring::ScoreFunction const & scorefxn,
74  core::pack::task::PackerTask const & task,
75  core::chemical::ResidueTypeCOP concrete_residue,
76  core::graph::GraphCOP packer_neighbor_graph,
77  bool use_neighbor_context = true
78  );
79 
80  /// @brief Computes the "bump energy" of a rotamer: the bump energy is the
81  /// sum of rotamer's interactions with 1) the backbone-and-side chains of
82  /// neighboring residues that are held fixed during this repacking optimization
83  /// and 2) the backbones of neighboring residues that are changable during this
84  /// repacking optimization.
85  virtual
87  bump_check(
90  core::pose::Pose const & pose,
91  core::pack::task::PackerTask const & task,
92  core::graph::GraphCOP packer_neighbor_graph
93  ) const;
94 
95 private:
98 
99 };
100 
101 
102 }
103 }
104 }
105 
106 #endif