Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
P_AA_pp_Energy.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 core/scoring/methods/P_AA_pp_Energy.hh
11 /// @brief Probability of observing an amino acid, given its phi/psi energy method declaration
12 /// @author Andrew Leaver-Fay
13 
14 
15 #ifndef INCLUDED_core_scoring_methods_P_AA_pp_Energy_hh
16 #define INCLUDED_core_scoring_methods_P_AA_pp_Energy_hh
17 
18 // Unit headers
20 
21 // Package headers
23 #include <core/scoring/P_AA.fwd.hh>
25 
27 
28 // Project headers
29 #include <core/pose/Pose.fwd.hh>
31 #include <core/id/DOF_ID.fwd.hh>
32 
33 #include <utility/vector1.hh>
34 
35 
36 
37 namespace core {
38 namespace scoring {
39 namespace methods {
40 
41 ///
43 public:
45 
46 public:
47 
48  /// ctor
50 
51  /// clone
52  virtual
54  clone() const;
55 
56  /////////////////////////////////////////////////////////////////////////////
57  // methods for ContextIndependentOneBodyEnergies
58  /////////////////////////////////////////////////////////////////////////////
59 
60  ///
61  virtual
62  void
64  conformation::Residue const & rsd,
65  pose::Pose const & pose,
66  EnergyMap & emap
67  ) const;
68 
69  bool
70  minimize_in_whole_structure_context( pose::Pose const & ) const { return false; }
71 
72  /// @brief The P_AA_pp energy function describes derivatives wrt phi and psi.
73  virtual
74  bool
75  defines_dof_derivatives( pose::Pose const & p ) const;
76 
77  /// @brief Evaluate the P_AA_pp DOF derivative for a particular residue.
78  virtual
79  Real
81  conformation::Residue const & rsd,
82  ResSingleMinimizationData const & min_data,
83  id::DOF_ID const & dof_id,
84  id::TorsionID const & torsion_id,
85  pose::Pose const & pose,
86  ScoreFunction const & sfxn,
87  EnergyMap const & weights
88  ) const;
89 
90 
91  /// @brief APL Deprecated 6.29.2010
92  virtual
93  Real
95  id::DOF_ID const & dof_id,
96  id::TorsionID const & tor_id,
97  pose::Pose const & pose,
98  ScoreFunction const & sfxn,
99  EnergyMap const & weights
100  ) const;
101 
102  /// @brief P_AA_pp_Energy is context independent; indicates that no
103  /// context graphs are required
104  virtual
106 
107 
108  // data
109 private:
110  P_AA const & p_aa_;
111 virtual
112 core::Size version() const;
113 
114 };
115 
116 } // methods
117 } // scoring
118 } // core
119 
120 
121 #endif // INCLUDED_core_scoring_EtableEnergy_HH