IMP logo
Public Member Functions
IMP::domino::SubsetFilterTable Class Reference

Detailed Description

A SubsetFilterTable class which produces SubsetFilter objects upon demand. When the get_subset_filter() method is called, it is passed the Subset that is to be filtered. It is also passed subsets of that Subset which have previously been filtered (and so don't need to be checked again).

For example, if the passed set is {a,b,c} and the prior_subsets are {a,b} and {b,c}, then only properties than involve a and c need to be checked, as ones involve a and b and b and c have already been checked previously.

Examples: custom filter

+ Inheritance diagram for IMP::domino::SubsetFilterTable:

List of all members.

Public Member Functions

 SubsetFilterTable (std::string name="SubsetFilterTable%1%")
virtual double get_strength (const Subset &s, const Subsets &prior_subsets) const =0
 The strength is a rough metric of how this filter restricts the subset.
virtual SubsetFilterget_subset_filter (const Subset &s, const Subsets &prior_subsets) const =0
- Public Member Functions inherited from IMP::base::Object
std::size_t __hash__ () const
virtual std::string get_type_name () const =0
 Return a string identifying the type of the object.
virtual IMP::base::VersionInfo get_version_info () const =0
 Get information about the module and version of the object.
void set_check_level (CheckLevel l)
void set_log_level (LogLevel l)
 Set the logging level used in this object.
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
const std::string & get_name () const
void set_name (std::string name)

Additional Inherited Members

- Protected Member Functions inherited from IMP::base::Object
 Object (std::string name)

Member Function Documentation

virtual double IMP::domino::SubsetFilterTable::get_strength ( const Subset s,
const Subsets &  prior_subsets 
) const
pure virtual

The strength is a rough metric of how this filter restricts the subset.

It is still kind of nebulous, but as a rough guide, it should be the fraction of the states that are eliminated by the filter.

virtual SubsetFilter* IMP::domino::SubsetFilterTable::get_subset_filter ( const Subset s,
const Subsets &  prior_subsets 
) const
pure virtual

Return a SubsetFilter which acts on the Subset s, given that all the prior_subsets have already been filtered.


The documentation for this class was generated from the following file:

Generated on Tue May 22 2012 23:33:33 for IMP by doxygen 1.8.1