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
pose
metrics
simple_calculators
InterfaceDeltaEnergeticsCalculator.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
11
/// @brief
12
/// @author John Karanicolas
13
/// @author Roland A Pache
14
15
16
#ifndef INCLUDED_core_pose_metrics_simple_calculators_InterfaceDeltaEnergeticsCalculator_HH
17
#define INCLUDED_core_pose_metrics_simple_calculators_InterfaceDeltaEnergeticsCalculator_HH
18
19
#include <
core/pose/metrics/PoseMetricCalculatorBase.hh
>
20
#include <
core/pose/Pose.fwd.hh
>
21
#include <
core/types.hh
>
22
#include <
core/scoring/EnergyMap.hh
>
23
#include <
core/scoring/EnergyMap.fwd.hh
>
24
#include <basic/MetricValue.fwd.hh>
25
26
#include <utility/vector1.hh>
27
#include <
core/scoring/ScoreType.hh
>
28
29
30
31
namespace
core{
32
namespace
pose {
33
namespace
metrics {
34
namespace
simple_calculators {
35
36
class
InterfaceDeltaEnergeticsCalculator
:
public
core::pose::metrics::EnergyDependentCalculator
{
37
38
public
:
39
40
// preferred constructor - use an existing InterfaceNeighborDefinitionCalculator
41
InterfaceDeltaEnergeticsCalculator
(
std::string
const
& NameOfInterfaceNeighborDefinitionCalculator );
42
43
// preferred alternative constructor - use an existing InterfaceNeighborDefinitionCalculator and define a set of score types to ignore
44
InterfaceDeltaEnergeticsCalculator
(
std::string
const
& NameOfInterfaceNeighborDefinitionCalculator,
utility::vector1<core::scoring::ScoreType>
const
& score_types_to_ignore );
45
46
// less preferred constructor - create a new InterfaceNeighborDefinitionCalculator
47
InterfaceDeltaEnergeticsCalculator
(
core::Size
const
chain1_number,
core::Size
const
chain2_number );
48
49
// less preferred constructor - create a new InterfaceNeighborDefinitionCalculator
50
InterfaceDeltaEnergeticsCalculator
(
char
const
chain1_letter,
char
const
chain2_letter );
51
52
core::pose::metrics::PoseMetricCalculatorOP
clone
()
const
53
{
return
new
core::pose::metrics::simple_calculators::InterfaceDeltaEnergeticsCalculator
(
name_of_InterfaceNeighborDefinitionCalculator_
,
score_types_to_ignore_
); }
54
55
protected
:
56
57
virtual
void
lookup
(
std::string
const
& key, basic::MetricValueBase * valptr )
const
;
58
virtual
std::string
print
(
std::string
const
& key )
const
;
59
virtual
void
recompute
(
core::pose::Pose
const
& this_pose );
60
61
private
:
62
63
std::string
name_of_InterfaceNeighborDefinitionCalculator_
;
64
utility::vector1<core::scoring::ScoreType>
score_types_to_ignore_
;
65
66
core::scoring::EnergyMap
delta_energies_unweighted_
;
67
core::scoring::EnergyMap
weights_
;
68
core::Real
weighted_total_
;
69
70
};
71
72
73
}
// namespace simple_calculators
74
}
// namespace metrics
75
}
// namespace pose
76
}
// namespace core
77
78
#endif //INCLUDED_core_pose_metrics_simple_calculators_InterfaceDeltaEnergeticsCalculator_HH
Generated on Sat Jun 1 2013 11:34:20 for Rosetta 3.5 by
1.8.4