Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DoubleLayerKinematicAbinitio.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 KinematicTaskCenter
11 /// @brief this class will be handled to a SampleProtocol as a control instance
12 /// @detailed
13 /// this class will have two LOOP definitions:
14 /// loops ( defines which part has missing density and should start "extended"
15 /// rigids ( defines which part should be kept as a rigid (minimal) core )
16 /// the extended part will be sampled with stage1
17 /// following on this the non-rigid part will be sampled with stage2-stage4 and loop-closing
18 
19 /// @author Oliver Lange
20 
21 
22 #ifndef INCLUDED_protocols_abinitio_DoubleLayerKinematicAbinitio_hh
23 #define INCLUDED_protocols_abinitio_DoubleLayerKinematicAbinitio_hh
24 
25 // Unit Headers
28 
29 // Package Headers
34 
35 // Project Headers
36 #include <core/types.hh>
37 #include <core/pose/Pose.fwd.hh>
38 
39 #include <protocols/loops/Loops.hh>
40 
41 // ObjexxFCL Headers
42 //#include <ObjexxFCL/FArray1D.hh>
43 //#include <ObjexxFCL/FArray2D.hh>
44 
45 // Utility headers
46 // AUTO-REMOVED #include <utility/vector1.hh>
47 #include <utility/pointer/ReferenceCount.hh>
48 
49 //// C++ headers
50 #include <cstdlib>
51 #include <string>
52 
53 #include <utility/vector1.hh>
54 
55 
56 
57 namespace protocols {
58 namespace abinitio {
59 
60 
62 public:
64  jumping::BaseJumpSetupOP jump_def,
65  loops::Loops extended_loops,
66  loops::Loops rigid_core,
67  ProtocolOP sampler,
68  ProtocolOP extended_chain_sampler,
70  core::Real coord_cst_weight,
71  bool bCstAllAtom = false //false = CA atoms only
72  ) :
73  LoopJumpFoldCst( jump_def, extended_loops, sampler, ss_def, coord_cst_weight, bCstAllAtom ),
74  rigid_loops_( rigid_core ),
75  extended_loops_( extended_loops ),
76  stage1_sampler_( extended_chain_sampler )
77  {}
78 
80 
81  //@brief make a new KinematicControl...
83 
84  virtual std::string get_name() const;
85 
86  // virtual void init( core::pose::Pose const& pose );
87 
88 protected:
89  ///@brief heuristic to select subset of loops from loops_
90  virtual void select_core_loops( loops::Loops& loops_select ) const;
91 
92  virtual bool inner_loop( core::pose::Pose& pose );
93 private:
94  loops::Loops rigid_loops_; //if empty rebuild whole structure
97 };
98 
99 }
100 }
101 #endif