Rosetta
|
#include <BasicFilters.hh>
Public Member Functions | |
StochasticFilter () | |
~StochasticFilter () override | |
StochasticFilter (core::Real const confidence, FilterOP subfilter=nullptr, bool run_subfilter_on=true) | |
FilterOP | clone () const override |
FilterOP | fresh_instance () const override |
bool | calculate () const |
bool | apply (core::pose::Pose const &pose) const override |
Returns true if the given pose passes the filter, false otherwise. More... | |
core::Real | report_sm (core::pose::Pose const &) const override |
If subfilter is set, use it's report_sm, otherwise use the base class's. More... | |
void | report (std::ostream &, core::pose::Pose const &) const override |
If subfilter is set, use it's report, otherwise use the base class's. More... | |
void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &) override |
Called by FilterFactory when constructing new Filter. Takes care of the specific mover's parsing. More... | |
core::Real | confidence () const |
The confidence is the fraction of the time the Filter will return true More... | |
FilterCOP | subfilter () const |
std::string | name () const override |
![]() | |
Filter () | |
Filter (std::string const &) | |
~Filter () override | |
virtual std::string | get_type () const |
std::string | get_user_defined_name () const |
void | set_user_defined_name (std::string const &name) |
virtual void | clear () |
used to clear internal variables if needed. Using fresh_instance is preferred since it's a pure virtual More... | |
virtual core::Real | score (core::pose::Pose &pose) |
virtual void | provide_citation_info (basic::citation_manager::CitationCollectionList &) const |
Provide citations to the passed CitationCollectionList Subclasses should add the info for themselves and any other classes they use. More... | |
Static Public Member Functions | |
static std::string | class_name () |
static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
Private Attributes | |
core::Real | confidence_ = 1.0 |
FilterOP | subfilter_ = nullptr |
bool | run_subfilter_on_ = true |
Additional Inherited Members | |
![]() | |
std::string | scorename_ |
protocols::filters::StochasticFilter::StochasticFilter | ( | ) |
|
overridedefault |
protocols::filters::StochasticFilter::StochasticFilter | ( | core::Real const | confidence, |
FilterOP | subfilter = nullptr , |
||
bool | run_subfilter_on = true |
||
) |
The confidence is the fraction of the time the Filter will return true If subfilter is not null, it will be called when the core calculation matched run_subfilter_on
|
overridevirtual |
Returns true if the given pose passes the filter, false otherwise.
Implements protocols::filters::Filter.
References calculate(), run_subfilter_on_, and subfilter_.
bool protocols::filters::StochasticFilter::calculate | ( | ) | const |
References confidence_, and core::scoring::rg.
Referenced by apply().
|
static |
Referenced by protocols::filters::StochasticFilterCreator::keyname().
|
overridevirtual |
Implements protocols::filters::Filter.
|
inline |
The confidence is the fraction of the time the Filter will return true
References confidence_.
|
overridevirtual |
Implements protocols::filters::Filter.
|
overridevirtual |
Reimplemented from protocols::filters::Filter.
References protocols::filters::TrueFilter::class_name().
|
overridevirtual |
Called by FilterFactory when constructing new Filter. Takes care of the specific mover's parsing.
Reimplemented from protocols::filters::Filter.
References confidence_, and protocols::filters::TR().
|
static |
|
overridevirtual |
If subfilter is set, use it's report, otherwise use the base class's.
Reimplemented from protocols::filters::Filter.
References subfilter_.
|
overridevirtual |
If subfilter is set, use it's report_sm, otherwise use the base class's.
Reimplemented from protocols::filters::Filter.
References protocols::filters::Filter::report_sm(), and subfilter_.
|
inline |
References subfilter_.
|
private |
Referenced by calculate(), confidence(), and parse_my_tag().
|
private |
Referenced by apply().
|
private |
Referenced by apply(), report(), report_sm(), and subfilter().