RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
SynthonSpaceFingerprintSearcher.h
Go to the documentation of this file.
1
//
2
// Copyright (C) David Cosgrove 2024.
3
//
4
// @@ All Rights Reserved @@
5
// This file is part of the RDKit.
6
// The contents are covered by the terms of the BSD license
7
// which is included in the file license.txt, found at the root
8
// of the RDKit source tree.
9
//
10
11
// This file declares a concrete class derived from SynthonSpaceSearcher
12
// that does fingerprint similarity searching of the SynthonSpace.
13
14
#ifndef SYNTHONSPACEFINGERPRINTSEARCHER_H
15
#define SYNTHONSPACEFINGERPRINTSEARCHER_H
16
17
#include <
RDGeneral/export.h
>
18
#include <
GraphMol/SynthonSpaceSearch/SynthonSpaceSearcher.h
>
19
20
namespace
RDKit::SynthonSpaceSearch
{
21
22
class
SynthonSpaceFingerprintSearcher
:
public
SynthonSpaceSearcher
{
23
public
:
24
SynthonSpaceFingerprintSearcher
() =
delete
;
25
SynthonSpaceFingerprintSearcher
(
26
const
ROMol
&query,
const
FingerprintGenerator<std::uint64_t>
&
fpGen
,
27
const
SynthonSpaceSearchParams
¶ms,
SynthonSpace
&
space
);
28
29
private
:
30
std::unique_ptr<ExplicitBitVect> d_queryFP;
31
const
FingerprintGenerator<std::uint64_t>
&d_fpGen;
32
33
std::vector<SynthonSpaceHitSet> searchFragSet(
34
std::vector<std::unique_ptr<ROMol>> &
fragSet
)
const override
;
35
bool
verifyHit(
const
ROMol
&
hit
)
const override
;
36
};
37
}
// namespace RDKit::SynthonSpaceSearch
38
39
#endif
// SYNTHONSPACEFINGERPRINTSEARCHER_H
SynthonSpaceSearcher.h
RDKit::FingerprintGenerator
class that generates same fingerprint style for different output formats
Definition
FingerprintGenerator.h:301
RDKit::ROMol
Definition
ROMol.h:199
RDKit::SynthonSpaceSearch::SynthonSpaceFingerprintSearcher
Definition
SynthonSpaceFingerprintSearcher.h:22
RDKit::SynthonSpaceSearch::SynthonSpaceFingerprintSearcher::SynthonSpaceFingerprintSearcher
SynthonSpaceFingerprintSearcher(const ROMol &query, const FingerprintGenerator< std::uint64_t > &fpGen, const SynthonSpaceSearchParams ¶ms, SynthonSpace &space)
RDKit::SynthonSpaceSearch::SynthonSpaceFingerprintSearcher::SynthonSpaceFingerprintSearcher
SynthonSpaceFingerprintSearcher()=delete
RDKit::SynthonSpaceSearch::SynthonSpaceSearcher
Definition
SynthonSpaceSearcher.h:29
RDKit::SynthonSpaceSearch::SynthonSpace
Definition
SynthonSpace.h:91
export.h
RDKit::SynthonSpaceSearch
Definition
SearchResults.h:17
RDKit::rdvalue_is
bool rdvalue_is(const RDValue_cast_t)
Definition
RDValue-doublemagic.h:372
RDKit::SynthonSpaceSearch::SynthonSpaceSearchParams
Definition
SynthonSpace.h:44
GraphMol
SynthonSpaceSearch
SynthonSpaceFingerprintSearcher.h
Generated on Sun Dec 22 2024 04:42:57 for RDKit by
1.9.8