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
simple_filters
ScoreTypeFilter.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 protocols/simple_filters/ScoreTypeFilter.hh
11
/// @brief definition of filter class ScoreTypeFilter.
12
/// @author Sarel Fleishman (sarelf@u.washington.edu), Jacob Corn (jecorn@u.washington.edu)
13
14
#ifndef INCLUDED_protocols_simple_filters_ScoreTypeFilter_hh
15
#define INCLUDED_protocols_simple_filters_ScoreTypeFilter_hh
16
17
//unit headers
18
#include <
protocols/simple_filters/ScoreTypeFilter.fwd.hh
>
19
20
// Project Headers
21
#include <
core/scoring/ScoreFunction.hh
>
22
#include <
core/types.hh
>
23
#include <
protocols/filters/Filter.hh
>
24
#include <
core/pose/Pose.fwd.hh
>
25
#include <
protocols/moves/DataMap.fwd.hh
>
26
#include <
protocols/moves/Mover.fwd.hh
>
27
#include <
core/scoring/ScoreType.hh
>
28
29
//Auto Headers
30
#include <
protocols/simple_filters/ScoreTypeFilter.hh
>
31
32
33
34
namespace
protocols {
35
namespace
simple_filters {
36
37
class
ScoreTypeFilter
:
public
filters::Filter
38
{
39
public
:
40
ScoreTypeFilter
() :
Filter
(
"ScoreType"
) {}
41
ScoreTypeFilter
(
core::scoring::ScoreFunctionCOP
scorefxn,
core::scoring::ScoreType
const
score_type,
core::Real
const
score_type_threshold );
42
bool
apply
(
core::pose::Pose
const
& pose )
const
;
43
filters::FilterOP
clone
()
const
{
44
return
new
ScoreTypeFilter
( *
this
);
45
}
46
filters::FilterOP
fresh_instance
()
const
{
47
return
new
ScoreTypeFilter
();
48
}
49
50
void
report
( std::ostream & out,
core::pose::Pose
const
& pose )
const
;
51
core::Real
report_sm
(
core::pose::Pose
const
& pose )
const
;
52
core::Real
compute
(
core::pose::Pose
const
&pose )
const
;
53
virtual
~ScoreTypeFilter
();
54
void
parse_my_tag
(
utility::tag::TagPtr
const
tag,
protocols::moves::DataMap
&,
protocols::filters::Filters_map
const
&,
protocols::moves::Movers_map
const
&,
core::pose::Pose
const
& );
55
void
parse_def
( utility::lua::LuaObject
const
& def,
56
utility::lua::LuaObject
const
& score_fxns,
57
utility::lua::LuaObject
const
& tasks );
58
private
:
59
core::Real
score_type_threshold_
;
60
core::scoring::ScoreType
score_type_
;
61
core::scoring::ScoreFunctionOP
scorefxn_
;
62
};
63
64
}
65
}
66
67
#endif
Generated on Sat Jun 1 2013 12:14:39 for Rosetta 3.5 by
1.8.4