IMP  2.0.1
The Integrative Modeling Platform
ExampleSubsetFilterTable.h
Go to the documentation of this file.
1 /**
2  * \file IMP/example/ExampleSubsetFilterTable.h
3  * \brief A Score on the distance between a pair of particles.
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  */
7 
8 #ifndef IMPEXAMPLE_EXAMPLE_SUBSET_FILTER_TABLE_H
9 #define IMPEXAMPLE_EXAMPLE_SUBSET_FILTER_TABLE_H
10 
11 #include <IMP/example/example_config.h>
14 
15 IMPEXAMPLE_BEGIN_NAMESPACE
16 
17 /** Filter a set of particles based on the maximum difference
18  in state indexes between them (a completely silly criteria).
19  The thing to note is how the filter table determines when
20  it should be applied and how it sets up the filters.
21  \include ExampleSubsetFilterTable.h
22  \include ExampleSubsetFilterTable.cpp
23 */
24 class IMPEXAMPLEEXPORT ExampleSubsetFilterTable:
26 {
27  int max_diff_;
28  const Particles ps_;
30  const domino::Subsets& prior_subsets) const;
31  public:
32  ExampleSubsetFilterTable(unsigned int max_diff, const ParticlesTemp &pt);
33 
35 };
36 
37 
38 IMPEXAMPLE_END_NAMESPACE
39 
40 #endif /* IMPEXAMPLE_EXAMPLE_SUBSET_FILTER_TABLE_H */