Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LoopHashMoverWrapper.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 protocols/loophash/movers/LoopHashMoverWrapper.hh
11 /// @author Sarel Fleishman (sarelf@u.washington.edu)
12 
13 #ifndef INCLUDED_protocols_loophash_LoopHashMoverWrapper_hh
14 #define INCLUDED_protocols_loophash_LoopHashMoverWrapper_hh
15 
16 #include <core/types.hh>
17 #include <core/pose/Pose.fwd.hh>
20 #include <utility/tag/Tag.fwd.hh>
22 #include <protocols/moves/Mover.hh>
27 // AUTO-REMOVED #include <set>
28 
29 #include <utility/vector1.hh>
30 
31 
32 namespace protocols {
33 namespace loophash {
34 
35 using core::Real;
36 using core::Size;
37 using std::string;
38 
40 {
41 public:
43 
44  void apply( core::pose::Pose & pose );
46 
47  virtual std::string get_name() const;
48  void parse_my_tag( utility::tag::TagPtr const tag,
52  core::pose::Pose const & );
55  virtual ~LoopHashMoverWrapper();
56 
57  Real min_bbrms() const;
58  void min_bbrms( Real const min_bbrms );
59  Real max_bbrms() const;
60  void max_bbrms( Real const max_bbrms );
61 
62  Real min_rms() const;
63  void min_rms( Real const min_rms );
64  Real max_rms() const;
65  void max_rms( Real const max_rms );
66 
67  Size max_nstruct() const;
68  void max_nstruct( Size const max_nstruct );
69 
71  void add_loop_size( Size const loop_size );
72 
79 
80 private:
81  // loopsampler
84  protocols::relax::FastRelaxOP fastrelax_; // the relax mover (will be applied in batches)
85 
86  // params
87  Real min_bbrms_, max_bbrms_, min_rms_, max_rms_; // loophash centroid generation params
89  Size max_nstruct_; // maximum number of residues per position to generate
90  Size ncentroid_, nfullatom_; // number of structures to carry over to subsequent stages
91  Size batch_size_; // batch relax batch size
92  protocols::filters::FilterOP cenfilter_, ranking_cenfilter_, fafilter_, ranking_fafilter_; // cen/fafilter actually prune decoys based on the filter's apply function. ranking_fa_filter uses the filter's report_sm method to rank and report the best decoys
93 
94  // prefiltering
97 
98  // structure store
99  bool ideal_, filter_by_phipsi_; // should we save space and assume structure is ideal?
100  std::vector< std::pair< Real, core::io::silent::SilentStructOP > > all_structs_;
101  core::Real sample_weight_const_; //dflt 1.0 ; sets the same sample weight throughout the pose
102 };
103 
104 
105 } // loophash
106 } // protocols
107 
108 
109 #endif /*INCLUDED_protocols_loophash_movers_LoopHashMoverWrapper_HH*/
110