Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CountPairIntraResC4.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/etable/count_pair/CountPairIntraResC4.hh
11 /// @brief Count pair for residue pairs connected with one bond, where the
12 /// crossover from excluding to counting atom pair interactions is at 4 bonds.
13 /// @author Andrew Leaver-Fay (leaverfa@email.unc.edu)
14 
15 
16 #ifndef INCLUDED_core_scoring_etable_count_pair_CountPairIntraResC4_hh
17 #define INCLUDED_core_scoring_etable_count_pair_CountPairIntraResC4_hh
18 
20 
21 #include <core/types.hh>
23 
24 namespace core {
25 namespace scoring {
26 namespace etable {
27 namespace count_pair {
28 
30 {
31 public:
32  public:
34 
35 public:
37  conformation::Residue const & res1
38  );
39 
40  virtual ~CountPairIntraResC4();
41 
42  ///@brief function required by templated functions in atom_pair_energy_inline
43  inline
44  bool
46  int const at1,
47  int const at2,
48  Real & weight,
49  Size & path_dist
50  ) const
51  {
52  path_dist = path_dists_[ at1 ][ at2 ];
53  return count_at_path_distance( path_dist, weight );
54  }
55 
56  virtual
57  bool
58  count(
59  int const at1,
60  int const at2,
61  Real &,
62  Size & path_dist
63  ) const;
64 
65  /// Type Resolution Functions ///
66 
67  virtual
68  void
70  conformation::Residue const & res1,
71  conformation::Residue const & res2,
73  EnergyMap &
74  ) const;
75 
76 
77  virtual
78  void
80  conformation::Residue const &,
81  conformation::Residue const &,
83  EnergyMap &
84  ) const;
85 
86 
87  virtual
88  void
90  conformation::Residue const &,
91  conformation::Residue const &,
93  EnergyMap &
94  ) const;
95 
96  virtual
97  void
99  conformation::Residue const & res1,
100  conformation::Residue const & res2,
102  EnergyMap &
103  ) const;
104 
105 
106  virtual
107  void
109  conformation::Residue const &,
110  conformation::Residue const &,
112  EnergyMap &
113  ) const;
114 
115 
116  virtual
117  void
119  conformation::Residue const &,
120  conformation::Residue const &,
122  EnergyMap &
123  ) const;
124 
125 private:
127 
128 };
129 
130 } // namespace count_pair
131 } // namespace etable
132 } // namespace scoring
133 } // namespace core
134 
135 #endif