Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ConstraintFragmentMover.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 // :noTabs=false:tabSize=4:indentSize=4:
4 //
5 // (c) Copyright Rosetta Commons Member Institutions.
6 // (c) This file is part of the Rosetta software suite and is made available under license.
7 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10 
11 
12 /// @brief set of fragments for a certain alignment frame
13 /// @author Oliver Lange (olange@u.washington.edu)
14 /// @date Wed Oct 20 12:08:31 2007
15 ///
16 
17 
18 #ifndef INCLUDED_protocols_simple_moves_ConstraintFragmentMover_HH
19 #define INCLUDED_protocols_simple_moves_ConstraintFragmentMover_HH
20 
21 // Unit Headers
22 //#include <protocols/simple_moves/ConstraintFragmentMover.fwd.hh>
24 
25 // Package Headers
27 
28 // Project Headers
29 #include <core/types.hh>
30 #include <core/fragment/FragSet.hh>
31 #include <core/pose/Pose.fwd.hh>
32 
34 
35 // Utility headers
36 #include <utility/vector1.fwd.hh>
37 
38 namespace protocols {
39 namespace simple_moves {
40 
42 
43 
45 public:
49  FragmentCostOP cost )
50  :
51  ClassicFragmentMover( fragset, movemap, "SmoothFragmentMover_"+cost->type() ),
52  cost_( cost )
53  {}
54 
55  // void apply( core::pose::Pose & );
56 protected:
60  FragmentCostOP cost,
61  std::string move_type ) :
62  ClassicFragmentMover( fragset, movemap, move_type+"_"+cost->type() ),
63  cost_( cost ) {}
64 
65  // frame and fragment of choice, returns false if no good fragment is found
66  bool choose_fragment( core::fragment::FrameList const&, core::pose::Pose const&, Size &frame_num, Size &frag_num );
67 
68 private:
70 
71  // choose randomly fragments that are below cutoff_
73 
74 };
75 
76 } //simple_moves
77 } //protocols
78 
79 #endif