Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
scoring
UnfoldedStatePotential.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/UnfoldedStatePotential.hh
11
/// @brief Unfolded state energies based on energies of residues in fragments, declaration (header) file
12
/// @author Ron Jacak (ronj@email.unc.edu)
13
14
#ifndef INCLUDED_core_scoring_UnfoldedStatePotential_hh
15
#define INCLUDED_core_scoring_UnfoldedStatePotential_hh
16
17
// Unit Headers
18
#include <
core/scoring/UnfoldedStatePotential.fwd.hh
>
19
20
// Package headers
21
// AUTO-REMOVED #include <core/scoring/types.hh>
22
23
// Project headers
24
// AUTO-REMOVED #include <core/chemical/AA.hh>
25
26
#include <
core/scoring/EnergyMap.hh
>
27
#include <
core/pose/Pose.fwd.hh
>
28
29
// c++ headers
30
// AUTO-REMOVED #include <string>
31
#include <map>
32
33
// Utility headers
34
// AUTO-REMOVED #include <utility/vector1.hh>
35
#include <utility/pointer/ReferenceCount.hh>
36
37
#include <utility/vector1.hh>
38
39
40
namespace
core {
41
namespace
scoring {
42
43
44
/// @begin UnfoldedStatePotential
45
///
46
/// @remarks
47
/// making this a separate class because it relies on a database file. rather than putting the code to read the database file
48
/// in the energy method class, it seems like the design we're following is to have a class like this one that reads the file
49
/// and provides the lookup into the data structure holding the database information and a separate class for the energy method
50
/// implementation.
51
///
52
class
UnfoldedStatePotential
:
public
utility::pointer::ReferenceCount
{
53
54
public
:
55
/// @brief ctor - calls the function which reads in the database file
56
UnfoldedStatePotential
(
std::string
const
&
filename
);
57
virtual
~UnfoldedStatePotential
();
58
59
/// @brief returns the database values for an aa in the unfolded state - these are unweighted values!
60
void
61
raw_unfolded_state_energymap
(
std::string
const
& aa_name3,
scoring::EnergyMap
& e )
const
;
62
63
/// @brief returns the unweighted unfolded state energy for the whole pose as an emap (i.e. broken up by score type)
64
void
65
pose_raw_unfolded_state_energymap
(
pose::Pose
const
& pose,
scoring::EnergyMap
& e )
const
;
66
67
/// @brief returns an emap of the energy method weights specfied in the unfolded energy file
68
scoring::EnergyMap
69
get_unfoled_potential_file_weights
()
const
;
70
71
private
:
72
/// @brief Read the amino acid energy file
73
void
read_database_file
(
std::string
const
& filename );
74
75
76
private
:
77
///@brief Unfolded state energies by residue
78
std::map< std::string, scoring::EnergyMap >
unfolded_energy_
;
79
80
/// @brief energy method weights listed in the energies file
81
scoring::EnergyMap
unfolded_potential_file_weights_
;
82
83
};
84
85
}
// namespace scoring
86
}
// namespace core
87
88
89
#endif // INCLUDED_core_scoring_UnfoldedStatePotential_HH
Generated on Sat Jun 1 2013 11:40:20 for Rosetta 3.5 by
1.8.4