Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TailsScoreMover.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 TailsScoreMover.hh
11 /// @brief
12 /// @author Monica Berrondo
13 
14 #ifndef INCLUDED_protocols_simple_moves_TailsScoreMover_hh
15 #define INCLUDED_protocols_simple_moves_TailsScoreMover_hh
16 
17 // Unit headers
19 
20 #include <core/types.hh>
21 
23 // AUTO-REMOVED #include <core/scoring/ScoreFunctionFactory.hh>
24 
25 #include <protocols/moves/Mover.hh>
26 
27 #include <utility/vector1.hh>
28 
29 
30 namespace protocols {
31 namespace simple_moves {
32 
34 {
35 public:
36  /// @brief
37  /// empty constructor fills values with the values
38  /// read in from the commandline
40  ScoreMover()
41  {}
42 
43  /// @brief
45  ScoreMover(scorefxn_in)
46  {}
47 
48  virtual void apply( core::pose::Pose & pose );
49  virtual std::string get_name() const;
50 private:
51  double score_mode1(int& out_min_ltail_length, int& out_min_rtail_length,std::ofstream & in_tail_output, core::pose::Pose & pose);
52  double score_mode2(int& out_min_ltail_length, int& out_min_rtail_length,std::ofstream & in_tail_output, core::pose::Pose & pose);
53  double score_mode3(int& out_min_ltail_length, int& out_min_rtail_length,std::ofstream & in_tail_output, core::pose::Pose & pose);
54 
55  double visit(double in_current_min, int in_current_min_ltail, int in_current_min_rtail,
56  int in_ltail, int in_rtail, int in_array_of_visits [][200], int &out_min_ltail,
57  int &out_min_rtail, int in_sequence_length, utility::vector1< core::Size > & tail, core::pose::Pose & pose,std::ofstream& area_file);
58  void make_tail(utility::vector1< core::Size > & tail,int in_ltaillength, int in_rtaillength, int in_sequence_length);
61  bool m_done_all;
62 
63 };
64 
65 } // simple_moves
66 } // protocols
67 
68 #endif //INCLUDED_protocols_simple_moves_TailsScoreMover_HH