Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PackStatFilter.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/simple_filters/PackStatFilter.hh
11 /// @brief header file for PackStatFilter class.
12 /// @detailed
13 /// @author Nobuyasu Koga ( nobuyasu@uw.edu )
14 
15 
16 #ifndef INCLUDED_protocols_simple_filters_PackStatFilter_hh
17 #define INCLUDED_protocols_simple_filters_PackStatFilter_hh
18 
19 // Unit Headers
21 
22 // Package Headers
24 
25 // Project Headers
26 #include <core/pose/Pose.fwd.hh>
27 
28 // Utility headers
29 
30 // Parser headers
34 #include <utility/tag/Tag.fwd.hh>
35 
36 #include <utility/vector1.hh>
37 
38 
39 // C++ headers
40 
41 namespace protocols {
42 namespace simple_filters {
43 
45 public:
46 
50  typedef core::Real Real;
52 
57 
58 
59 public:// constructor/destructor
60 
61 
62  /// @brief default constructor
64 
65  /// @brief constructor with arguments
66  PackStatFilter( Real const & ss );
67 
68  /// @brief copy constructor
69  PackStatFilter( PackStatFilter const & rval );
70 
71  virtual ~PackStatFilter(){}
72 
73 
74 public:// virtual constructor
75 
76 
77  /// @brief make clone
78  virtual filters::FilterOP clone() const { return new PackStatFilter( *this ); }
79 
80  /// @brief make fresh instance
81  virtual filters::FilterOP fresh_instance() const { return new PackStatFilter(); }
82 
83 
84 public:// mutator
85 
86 
87  /// @brief set filtered secondary structure
88  void filtered_score( Real const & ss );
89 
90 
91 public:// accessor
92 
93 
94  /// @brief get name of this filter
95  virtual std::string name() const { return "PackStatFilter"; }
96 
97 
98 
99 public:// parser
100 
101  virtual void parse_my_tag( TagPtr const tag,
102  DataMap &,
103  filters::Filters_map const &,
104  Movers_map const &,
105  Pose const & );
106 
107 
108 public:// virtual main operation
109 
110 
111  /// @brief returns true if the given pose passes the filter, false otherwise.
112  /// In this case, the test is whether the give pose is the topology we want.
113  virtual bool apply( Pose const & pose ) const;
114 
115  /// @brief
116  virtual Real report_sm( Pose const & pose ) const;
117 
118  /// @brief calc packstat score
119  Real compute( Pose const & pose ) const;
120 
121  /// @brief determine which chain to evaluate, 0 is all
123 
124  /// @brief how many times to repeat evaluation
126 
127 private:
128 
130 
131 };
132 
133 } // filters
134 } // protocols
135 
136 #endif