Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SmoothFragWeight.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 TopologyBroker
11 /// @brief top-class (Organizer) of the TopologyBroker mechanism
12 /// @detailed responsibilities:
13 /// maintains list of ToplogyClaimers
14 /// maintains SmallFragWeights -- exclusive or non-exclusively markedup dofs like BackboneClaim, IntraResClaim, JumpClaim
15 /// generates FoldTree, MoveMap, and collects samplers provided by SmallFragWeights
16 /// @author Oliver Lange
17 
18 
19 #ifndef INCLUDED_protocols_topology_broker_weights_SmoothFragWeight_hh
20 #define INCLUDED_protocols_topology_broker_weights_SmoothFragWeight_hh
21 
22 // Unit Headers
24 
25 // Package Headers
27 
28 // Project Headers
29 #include <core/types.hh>
30 
31 // Utility headers
32 #include <utility/pointer/ReferenceCount.hh>
33 
34 //#include <basic/options/option_macros.hh>
35 
36 //// C++ headers
37 //#include <fstream>
38 
39 
40 // option key includes
41 
42 
43 namespace protocols {
44 namespace topology_broker {
45 namespace weights {
46 
47 
49 public:
51  virtual core::Real weight( core::Size stageID, core::Real progress /* progress within stage */ ) const {
52  if ( stageID < abinitio::STAGE_4 ) return 0.0;
53  if ( stageID == abinitio::STAGE_4 && progress >0.5) return weight_;
54  return 0.0;
55  };
56 private:
58 }; //class SmoothFragWeight
59 
60 // Types
63 
66 
67 }
68 }
69 }
70 
71 #endif