Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
19 
20 // Package headers
23 
24 // Project headers
25 #include <core/types.hh>
26 
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 
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
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
53 
54  ///@brief
55  virtual
56  void
58 
59  ///@brief
60  void
62 
63  ///@brief
64  void
66 
67 private:
68 
69  // energy map to hold weights to determin which terms are turned on
71 
72  // vector of energy maps to hold data
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