Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
YHHPlanarityEnergy.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_YHHPlanarityEnergy_hh
16 #define INCLUDED_core_scoring_methods_YHHPlanarityEnergy_hh
17 
18 // Unit headers
20 
21 // Package headers
25 
26 // Project headers
27 #include <core/pose/Pose.fwd.hh>
29 #include <core/id/DOF_ID.fwd.hh>
30 
31 #include <utility/vector1.hh>
32 
33 namespace core {
34 namespace scoring {
35 namespace methods {
36 
37 ///
39 public:
41 
42 public:
43 
44  /// ctor
46 
47  /// clone
48  virtual
50  clone() const;
51 
52  /////////////////////////////////////////////////////////////////////////////
53  // methods for ContextIndependentOneBodyEnergies
54  /////////////////////////////////////////////////////////////////////////////
55 
56  ///
57  virtual
58  void
60  conformation::Residue const & rsd,
61  pose::Pose const & pose,
62  EnergyMap & emap
63  ) const;
64 
65  bool
66  minimize_in_whole_structure_context( pose::Pose const & ) const { return false; }
67 
68  /// @brief The P_AA_pp energy function describes derivatives wrt phi and psi.
69  virtual
70  bool
71  defines_dof_derivatives( pose::Pose const & p ) const;
72 
73  /// @brief Evaluate the P_AA_pp DOF derivative for a particular residue.
74  virtual
75  Real
77  conformation::Residue const & rsd,
78  ResSingleMinimizationData const & min_data,
79  id::DOF_ID const & dof_id,
80  id::TorsionID const & torsion_id,
81  pose::Pose const & pose,
82  ScoreFunction const & sfxn,
83  EnergyMap const & weights
84  ) const;
85 
86 
87  /// @brief P_AA_pp_Energy is context independent; indicates that no
88  /// context graphs are required
89  virtual
91 
92  virtual
93  core::Size version() const;
94 
95 private:
96  bool defines_score_for_rsd( conformation::Residue const & rsd ) const;
97 
98 };
99 
100 } // methods
101 } // scoring
102 } // core
103 
104 
105 #endif // INCLUDED_core_scoring_EtableEnergy_HH