Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NMerPSSMEnergy.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/NMerPSSMEnergy.hh
11 /// @brief PSSM energy method declaration
12 /// @author Chris King (dr.chris.king@gmail.com)
13 
14 
15 #ifndef INCLUDED_core_scoring_methods_NMerPSSMEnergy_hh
16 #define INCLUDED_core_scoring_methods_NMerPSSMEnergy_hh
17 
18 // Unit headers
20 
21 // Package headers
24 
25 // Project headers
26 #include <core/chemical/AA.hh>
27 #include <core/pose/Pose.fwd.hh>
28 #include <core/id/TorsionID.fwd.hh>
29 #include <core/id/DOF_ID.fwd.hh>
30 
31 #include <utility/vector1.hh>
32 #include <basic/Tracer.hh>
33 #include <map>
34 
35 // Utility headers
36 
37 
38 namespace core {
39 namespace scoring {
40 namespace methods {
41 
43 {
44 public:
46 
47 public:
48 
49  ///
51 
52  ///
53  NMerPSSMEnergy( utility::vector1< std::map< core::chemical::AA, utility::vector1< core::Real > > > const & all_nmer_pssms_in );
54 
55  ///
56  virtual ~NMerPSSMEnergy();
57 
58  virtual
60  clone() const;
61 
62  /////////////////////////////////////////////////////////////////////////////
63  // methods for ContextIndependentOneBodyEnergies
64  /////////////////////////////////////////////////////////////////////////////
65 
66  ///
67  virtual
68  void
70  conformation::Residue const & rsd,
71  pose::Pose const & pose,
72  EnergyMap & emap
73  ) const;
74 
75  bool
76  minimize_in_whole_structure_context( pose::Pose const & ) const { return false; }
77 
78  ///
79  virtual
80  Real
82  id::DOF_ID const & dof_id,
83  id::TorsionID const & tor_id,
84  pose::Pose const & pose,
85  ScoreFunction const & sfxn,
86  EnergyMap const & weights
87  ) const;
88 
89  /// @brief DunbrackEnergy is context independent; indicates that no
90  /// context graphs are required
91  virtual
93 
94  void read_nmer_pssm_list( std::string const );
95  void read_nmer_pssm( std::string const );
96  void nmer_length( core::Size const );
97  void gate_pssm_scores( bool const );
98  void nmer_pssm_scorecut( core::Real const );
99 
100 private:
106 
109  virtual
110  core::Size version() const;
111 };
112 
113 } // methods
114 } // scoring
115 } // core
116 
117 
118 #endif