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
protocols
unfolded_state_energy_calculator
UnfoldedStateEnergyCalculatorJobDistributor.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 protocolsoped 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/UnfoldedStateEnergyCalculator/UnfoldedStateEnergyCalculatorMPIWorkPoolJobDistributor.hh
11
/// @brief Job distributor for UnfoldedStateEnergyCalculator
12
/// @author P. douglas Renfrew (renfrew@unc.edu)
13
14
#ifndef INCLUDED_protocols_unfolded_state_energy_calculator_UnfoldedStateEnergyCalculatorJobDistributor_hh
15
#define INCLUDED_protocols_unfolded_state_energy_calculator_UnfoldedStateEnergyCalculatorJobDistributor_hh
16
17
// Unit headers
18
#include <
protocols/unfolded_state_energy_calculator/UnfoldedStateEnergyCalculatorJobDistributor.fwd.hh
>
19
20
// Package headers
21
#include <
protocols/jd2/FileSystemJobDistributor.hh
>
22
#include <
protocols/moves/Mover.fwd.hh
>
23
24
// Project headers
25
#include <
core/types.hh
>
26
27
#include <
core/scoring/EnergyMap.hh
>
28
29
// Utility headers
30
#include <utility/vector1.fwd.hh>
31
32
// C++ headers
33
#include <map>
34
#include <string>
35
36
#include <utility/vector1.hh>
37
38
39
namespace
protocols {
40
namespace
unfolded_state_energy_calculator {
41
42
class
UnfoldedStateEnergyCalculatorJobDistributor
:
public
protocols::jd2::FileSystemJobDistributor
43
{
44
public
:
45
typedef
std::map<std::string, utility::vector1< core::scoring::EMapVector > >::iterator
uem_iter
;
46
47
///@brief ctor is protected; singleton pattern
48
UnfoldedStateEnergyCalculatorJobDistributor
();
49
50
///WARNING WARNING! SINGLETONS' DESTRUCTORS ARE NEVER CALLED IN MINI! DO NOT TRY TO PUT THINGS IN THIS FUNCTION!
51
///here's a nice link explaining why: http://www.research.ibm.com/designpatterns/pubs/ph-jun96.txt
52
virtual
~UnfoldedStateEnergyCalculatorJobDistributor
();
53
54
///@brief
55
virtual
56
void
57
go
(
protocols::moves::MoverOP
mover );
58
59
///@brief
60
void
61
add_unfolded_energy_data
(
std::string
tlc,
core::scoring::EMapVector
const
& scores );
62
63
///@brief
64
void
65
set_energy_terms
(
core::scoring::EMapVector
const
& weights );
66
67
private
:
68
69
// energy map to hold weights to determin which terms are turned on
70
core::scoring::EMapVector
energy_terms_
;
71
72
// vector of energy maps to hold data
73
utility::vector1< core::scoring::EMapVector >
unweighted_energies_
;
74
75
// map to hold vector of energies for each residue type encountered
76
std::map<std::string, utility::vector1< core::scoring::EMapVector > >
unweighted_energies_map_
;
77
};
78
79
}
// UnfoldedStateEnergyCalculator
80
}
// protocols
81
82
#endif //INCLUDED_protocols_UnfoldedStateEnergyCalculator_UnfoldedStateEnergyCalculatorJobDistributor_HH
Generated on Sat Jun 1 2013 12:25:07 for Rosetta 3.5 by
1.8.4