IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::domino::EquivalenceAndExclusionSubsetFilterTable Class Reference

Define sets of equivalent and exclusive particles. More...

#include <IMP/domino/subset_filters.h>

Inheritance diagram for IMP::domino::EquivalenceAndExclusionSubsetFilterTable:

Detailed Description

Define sets of equivalent and exclusive particles.

This is equivalent to having both an EquivalenceSubsetFilterTable and an ExclusionSubsetFilterTable on the same particles, but faster.

Definition at line 245 of file subset_filters.h.

Public Member Functions

 EquivalenceAndExclusionSubsetFilterTable (IMP::domino::ParticleStatesTable *pst)
virtual double get_strength (const IMP::domino::Subset &s, const IMP::domino::Subsets &excluded) const override
 The strength is a rough metric of how this filter restricts the subset.
virtual IMP::domino::SubsetFilter * get_subset_filter (const IMP::domino::Subset &s, const IMP::domino::Subsets &excluded) const override
virtual std::string get_type_name () const override
virtual ::IMP::VersionInfo get_version_info () const override
 Get information about the module and version of the object.
Public Member Functions inherited from IMP::domino::DisjointSetsSubsetFilterTable
void add_pair (const ParticlePair &pp)
void add_set (const ParticlesTemp &ps)
Public Member Functions inherited from IMP::domino::SubsetFilterTable
 SubsetFilterTable (std::string name="SubsetFilterTable%1%")
Public Member Functions inherited from IMP::Object
CheckLevel get_check_level () const
 get_derived_object (self)
 Return this object cast to the most derived subclass.
LogLevel get_log_level () const
void set_check_level (CheckLevel l)
void set_log_level (LogLevel l)
 Set the logging level used in this object.
const std::string & get_name () const
 Get the (not necessarily unique) name of this object.
void set_name (std::string name)
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
virtual void clear_caches ()

Additional Inherited Members

Protected Member Functions inherited from IMP::domino::DisjointSetsSubsetFilterTable
 DisjointSetsSubsetFilterTable (ParticleStatesTable *pst, std::string name)
 DisjointSetsSubsetFilterTable (std::string name)
unsigned int get_number_of_sets () const
ParticlesTemp get_set (unsigned int i) const
Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name.
virtual void do_destroy ()

Constructor & Destructor Documentation

◆ EquivalenceAndExclusionSubsetFilterTable() [1/2]

IMP::domino::EquivalenceAndExclusionSubsetFilterTable::EquivalenceAndExclusionSubsetFilterTable ( IMP::domino::ParticleStatesTable * pst)

Definition at line 245 of file subset_filters.h.

◆ EquivalenceAndExclusionSubsetFilterTable() [2/2]

IMP::domino::EquivalenceAndExclusionSubsetFilterTable::EquivalenceAndExclusionSubsetFilterTable ( )

Definition at line 245 of file subset_filters.h.

◆ ~EquivalenceAndExclusionSubsetFilterTable()

virtual IMP::domino::EquivalenceAndExclusionSubsetFilterTable::~EquivalenceAndExclusionSubsetFilterTable ( )
virtual

Definition at line 245 of file subset_filters.h.

Member Function Documentation

◆ get_strength()

virtual double IMP::domino::EquivalenceAndExclusionSubsetFilterTable::get_strength ( const IMP::domino::Subset & s,
const IMP::domino::Subsets & prior_subsets ) const
overridevirtual

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.

Implements IMP::domino::SubsetFilterTable.

◆ get_subset_filter()

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

Return a SubsetFilter which acts on the Subset s, given that all the prior_subsets have already been filtered. This should return nullptr if there is no filtering to be done.

Implements IMP::domino::SubsetFilterTable.

◆ get_type_name()

virtual std::string IMP::domino::EquivalenceAndExclusionSubsetFilterTable::get_type_name ( ) const
overridevirtual

Reimplemented from IMP::Object.

Definition at line 245 of file subset_filters.h.

◆ get_version_info()

virtual ::IMP::VersionInfo IMP::domino::EquivalenceAndExclusionSubsetFilterTable::get_version_info ( ) const
overridevirtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 245 of file subset_filters.h.


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