Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NVlookup.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 // (C) 199x-2009 University of Washington
10 // (C) 199x-2009 University of California Santa Cruz
11 // (C) 199x-2009 University of California San Francisco
12 // (C) 199x-2009 Johns Hopkins University
13 // (C) 199x-2009 University of North Carolina, Chapel Hill
14 // (C) 199x-2009 Vanderbilt University
15 
16 /// @file core/scoring/NV/NVlookup.hh
17 /// @brief Neighbor Vector algorithm lookup table processing class declaration
18 /// @author Sam DeLuca (samuel.l.deluca@vanderbilt.edu)
19 
20 #ifndef INCLUDED_core_scoring_nv_NVlookup_hh
21 #define INCLUDED_core_scoring_nv_NVlookup_hh
22 
23 //unit headers
24 
26 
27 //project headers
28 #include <core/types.hh>
29 #include <core/chemical/AA.hh>
30 #include <numeric/interpolation/spline/SplineGenerator.hh>
31 
32 #include <utility/pointer/ReferenceCount.hh>
33 #include <utility/vector1.hh>
34 
35 //STL header
36 #include <map>
37 #include <vector>
38 
39 
40 namespace core {
41 namespace scoring {
42 namespace nv {
43 
45 public:
46  ///@brief Automatically generated virtual destructor for class deriving directly from ReferenceCount
47  virtual ~NVlookup();
49 
50  core::Real get_potentials(core::chemical::AA const & aa_type, core::Real const & score) const;
51 
52 private:
53 
54  void set_up_spline_from_data(core::chemical::AA const & aa_type, utility::vector1<core::Real> const & bin_centers, utility::vector1<core::Real> const & data);
55 
56  //The spline for each amino acid is stored in an array indexed by core::chemical::AA enum
57  //numeric::interpolation::spline::InterpolatorOP lookup_table_[core::chemical::num_canonical_aas];
58 
60 
61  //std::map<char, numeric::interpolation::spline::InterpolatorOP > lookup_table_;
62 
63 };
64 
65 
66 } //NV
67 } //scoring
68 } //core
69 
70 #endif