Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
match
output
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
20
#include <
protocols/match/output/LimitHitsPerRotamerFilter.fwd.hh
>
21
22
// Package headers
23
#include <
protocols/match/output/MatchFilter.hh
>
24
#include <
protocols/match/Hit.fwd.hh
>
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
40
class
LimitHitsPerRotamerFilter
:
public
StateAccumulatingMatchFilter
{
41
public
:
42
typedef
core::Size
Size
;
43
typedef
std::map< utility::OrderedTuple< utility::vector1< Size > >,
Size
>
RotamerComboCountMap
;
44
45
public
:
46
LimitHitsPerRotamerFilter
();
47
LimitHitsPerRotamerFilter
(
Size
n_geometric_constraints );
48
49
void
50
set_n_geometric_constraints
(
Size
n_csts );
51
52
void
53
set_limit_for_rotamer_combo
(
Size
limit );
54
55
virtual
56
~LimitHitsPerRotamerFilter
();
57
58
/// @brief Returns true if the given match passes this filter
59
virtual
60
bool
61
passes_filter
(
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
68
note_match_accepted
(
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
:
78
Size
n_geometric_constraints_
;
79
Size
limit_per_rotamer_combo_
;
80
RotamerComboCountMap
count_per_rotamer_combo_
;
81
82
};
83
84
}
85
}
86
}
87
88
#endif
Generated on Sat Jun 1 2013 11:59:40 for Rosetta 3.5 by
1.8.4