RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RascalOptions.h
Go to the documentation of this file.
1//
2// Copyright (C) David Cosgrove 2023
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#include <RDGeneral/export.h>
11
12#ifndef RASCALOPTIONS_H
13#define RASCALOPTIONS_H
14
15namespace RDKit {
16
17namespace RascalMCES {
18
20 double similarityThreshold =
21 0.7; // if calculated below this, no MCES will be evaluated.
22 bool completeAromaticRings =
23 true; // if true, partial aromatic rings won't be returned
24 bool ringMatchesRingOnly =
25 false; // if true, ring bonds won't match non-ring bonds
26 bool singleLargestFrag =
27 false; /* if true, only return a single fragment for the MCES. Default
28 is to produce multiple matching fragments if necessary. */
29 int minFragSize =
30 -1; /* minimum number of atoms in any fragment - -1 means no minimum */
31 int maxFragSeparation = -1; /* biggest through-bond distance that bonds can
32 match. -1 means no limit. */
33 bool allBestMCESs =
34 false; /* If true, all MCESs are returned, in order of diminishing score.
35 This is likely to result in higher run times. */
36 int timeout = 60; // max run time, in seconds. -1 means no max.
37 bool doEquivBondPruning =
38 false; /* This might make the code run a bit faster in some
39 circumstances, but on average it is very marginal. */
40 bool returnEmptyMCES = false; /* if true, if the similarity thresholds aren't
41 matched still return a RascalResult with the
42 tier1 and tier2 sims filled in. */
43 unsigned int maxBondMatchPairs = 1000; /* Too many matching bond (vertex)
44 pairs can cause it to run out of memory. This
45 is a reasonable default for my Mac. */
46};
47} // namespace RascalMCES
48} // namespace RDKit
49
50#endif // RASCALOPTIONS_H
#define RDKIT_RASCALMCES_EXPORT
Definition export.h:425
Std stuff.