Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ParallelBetaPairingPreferenceFilter.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 ./src/protocols/fldsgn/filters/ParallelBetaPairingPreferenceFilter.hh
11 /// @brief header file for ParallelBetaPairingPreferenceFilter class.
12 /// @detailed
13 /// @author Nobuyasu Koga ( nobuyasu@uw.edu )
14 
15 
16 #ifndef INCLUDED_protocols_fldsgn_filters_ParallelBetaPairingPreferenceFilter_hh
17 #define INCLUDED_protocols_fldsgn_filters_ParallelBetaPairingPreferenceFilter_hh
18 
19 // Unit Headers
21 
22 // Package Headers
24 
25 // Project Headers
26 #include <core/chemical/AA.hh>
27 #include <core/pose/Pose.fwd.hh>
28 
29 // Parser headers
33 #include <utility/tag/Tag.fwd.hh>
34 
35 #include <utility/vector1.hh>
36 
37 
38 //// C++ headers
39 
40 namespace protocols {
41 namespace fldsgn {
42 namespace filters {
43 
45 public: // typedef
46 
48 
49  typedef core::Size Size;
50  typedef core::Real Real;
56 
61 
62 
63 public:// constructor/destructor
64 
65 
66  // @brief default constructor
68 
69  // @brief constructor with arguments
70  // Undefinded comminting out to fix PyRosetta build ParallelBetaPairingPreferenceFilter( String const & ss );
71 
72  // @brief copy constructor
74 
75  // @brief destructor
77 
78 
79 public:// virtual constructor
80 
81 
82  // @brief make clone
83  virtual FilterOP clone() const { return new ParallelBetaPairingPreferenceFilter( *this ); }
84 
85  // @brief make fresh instance
87 
88 
89 public:// set filter value
90 
91 
92  void filter_value( Real const value );
93 
94 
95 public:// main calculator
96 
97 
98  /// @brief compute number of contacts
99  Real compute( Pose const & pose ) const;
100 
101 
102 public:// helper functions
103 
104 
105  /// @brief
106  Real score_pairmatrix( AA aa1, AA aa2 ) const;
107 
108 
109 public:// virtual main operations
110 
111 
112  /// @brief used to report score
113  virtual Real report_sm( Pose const & pose ) const;
114 
115  /// @brief used to report score
116  virtual void report( std::ostream & out, Pose const & pose ) const;
117 
118  // @brief returns true if the given pose passes the filter, false otherwise.
119  virtual bool apply( Pose const & pose ) const;
120 
121 
122 public:// parser
123 
124 
125  virtual void parse_my_tag( TagPtr const tag,
126  DataMap &,
127  Filters_map const &,
128  Movers_map const &,
129  Pose const & );
130 
131 
132 private:
133 
134 
135  /// @brief
137 
138  /// @brief
140 
141  /// @brief
142  bool verbose_;
143 
144 
145 };
146 
147 } // filters
148 } // fldsgn
149 } // protocols
150 
151 #endif