Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LoopFragmentClaimer.cc
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 /// @author Oliver Lange
14 
15 // Unit Headers
17 
18 // Package Headers
21 #include <core/fragment/FragSet.hh>
22 
23 // Project Headers
24 //#include <core/pose/Pose.hh>
26 
28 
29 // ObjexxFCL Headers
30 
31 // Utility headers
32 //#include <utility/io/izstream.hh>
33 //#include <utility/io/ozstream.hh>
34 //#include <utility/io/util.hh>
35 #include <basic/Tracer.hh>
36 
37 #include <utility/vector1.hh>
38 
39 
40 //#include <basic/options/option.hh>
41 
42 //// C++ headers
43 
44 // option key includes
45 
46 
47 static basic::Tracer tr("protocols.topo_broker",basic::t_info);
48 //static numeric::random::RandomGenerator RG(181134);
49 
50 namespace protocols {
51 namespace topology_broker {
52 
53 using namespace core;
54 
56  FragmentClaimer( new simple_moves::ClassicFragmentMover( frags, new kinematics::MoveMap ),
57  "Loops", new weights::ConstAbinitioMoverWeight( 0.0 ) )
58 {
59  runtime_assert( frags );
60 }
61 
63  //for now I allow only a single FragSet for loop-closing...
64  // runtime_assert( frags.empty() );
65  //to change this we need to find a way to consolidate the movemaps of two different Movers.
66  // I guess correct behaviour would be to have a boolean AND for the maps.
67  movemap=*mover().movemap();
68  return mover().fragments();
69 }
70 
71 
72 
73 } //topology_broker
74 } //protocols