Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SidechainContactDistCutoff.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/frag_picker/SidechainContactDistCutoff.hh
11 /// @brief Defines sidechain contact distance cutoffs.
12 /// @author David E. Kim (dekim@u.washington.edu)
13 
14 
15 #ifndef INCLUDED_protocols_frag_picker_SidechainContactDistCutoff_hh
16 #define INCLUDED_protocols_frag_picker_SidechainContactDistCutoff_hh
17 
18 // unit headers
20 
21 // project headers
22 #include <core/types.hh>
23 
24 // utility headers
25 #include <utility/pointer/ReferenceCount.hh>
26 #include <utility/vector1.hh>
27 
28 // C/C++ headers
29 #include <map>
30 
31 namespace protocols {
32 namespace frag_picker {
33 
34 using namespace core;
35 
36 /// @brief defines sidechain contact distance cutoffs.
37 /// @detailed provides amino acid pair specific distance cutoffs.
39 public:
40 
42 
43  SidechainContactDistCutoff(Real scale_factor);
44 
45  virtual ~SidechainContactDistCutoff(); // auto-removing definition from header{};
46 
47  Real get_cutoff(char aa_i, char aa_j);
48 
49  Real get_cutoff_squared(char aa_i, char aa_j);
50 
51  Real scale_factor();
52 
53 private:
54 
55  void initialize();
56 
57 private:
59  std::map<char,Size> aa_to_index_map_;
63 };
64 
65 } // frag_picker
66 } // protocols
67 
68 
69 #endif /* INCLUDED_protocols_frag_picker_SidechainContactDistCutoff_HH */