Package rdkit :: Package Chem :: Package Fingerprints :: Module SimilarityScreener :: Class TopNScreener
[hide private]
[frames] | no frames]

type TopNScreener

source code

        object --+    
                 |    
SimilarityScreener --+
                     |
                    TopNScreener

A screener that only returns the top N hits found

**Notes**

  - supports forward iteration and getitem

Instance Methods [hide private]
 
__init__(self, num, **kwargs) source code
 
Reset(self)
used to reset screeners that behave as iterators...
source code
 
__iter__(self) source code
 
next(self) source code
 
__next__(self) source code
 
_initTopN(self) source code
 
__len__(self) source code
 
__getitem__(self, idx) source code

Inherited from SimilarityScreener: GetSingleFingerprint, SetProbe

Method Details [hide private]

__init__(self, num, **kwargs)
(Constructor)

source code 
Overrides: SimilarityScreener.__init__

Reset(self)

source code 
used to reset screeners that behave as iterators
    

Overrides: SimilarityScreener.Reset
(inherited documentation)