Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LimitHitsPerRotamerFilter.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 /// @file protocols/match/output/MatchFilter.hh
12 /// @brief Declaration for abstract class to filter matches.
13 /// @author Alex Zanghellini (zanghell@u.washington.edu)
14 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com), porting to mini
15 
16 #ifndef INCLUDED_protocols_match_output_LimitHitsPerRotamerFilter_hh
17 #define INCLUDED_protocols_match_output_LimitHitsPerRotamerFilter_hh
18 
19 // Unit headers
21 
22 // Package headers
25 
26 // Utility headers
27 // AUTO-REMOVED #include <utility/OrderedTuple.hh>
28 // AUTO-REMOVED #include <utility/vector1.hh>
29 
30 // C++ headers
31 #include <map>
32 
33 #include <utility/OrderedTuple.fwd.hh>
34 
35 
36 namespace protocols {
37 namespace match {
38 namespace output {
39 
41 public:
42  typedef core::Size Size;
43  typedef std::map< utility::OrderedTuple< utility::vector1< Size > >, Size > RotamerComboCountMap;
44 
45 public:
47  LimitHitsPerRotamerFilter( Size n_geometric_constraints );
48 
49  void
51 
52  void
54 
55  virtual
57 
58  /// @brief Returns true if the given match passes this filter
59  virtual
60  bool
62  match const & m
63  ) const;
64 
65  /// @brief Note that a particular match has passed all the filters and will be output.
66  virtual
67  void
69  match const & m
70  );
71 
72  /// @brief Erase all tracking data on which matches have already been output.
73  virtual
74  void
75  reset();
76 
77 private:
81 
82 };
83 
84 }
85 }
86 }
87 
88 #endif