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
topology_broker
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
16
#include <
protocols/topology_broker/LoopFragmentClaimer.hh
>
17
18
// Package Headers
19
#include <
protocols/topology_broker/DofClaim.hh
>
20
#include <
protocols/topology_broker/weights/AbinitioMoverWeight.hh
>
21
#include <
core/fragment/FragSet.hh
>
22
23
// Project Headers
24
//#include <core/pose/Pose.hh>
25
#include <
core/kinematics/MoveMap.hh
>
26
27
#include <
protocols/simple_moves/FragmentMover.hh
>
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
55
LoopFragmentClaimer::LoopFragmentClaimer
(
fragment::FragSetOP
frags ) :
56
FragmentClaimer
( new simple_moves::ClassicFragmentMover( frags, new kinematics::
MoveMap
),
57
"Loops"
, new weights::ConstAbinitioMoverWeight( 0.0 ) )
58
{
59
runtime_assert( frags );
60
}
61
62
fragment::FragSetCOP
LoopFragmentClaimer::loop_frags
(
kinematics::MoveMap
& movemap)
const
{
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
Generated on Sat Jun 1 2013 12:24:41 for Rosetta 3.5 by
1.8.4