35#include <unordered_map>
36#include <boost/dynamic_bitset.hpp>
73 const ROMol &mol,
unsigned int lowerLen,
unsigned int upperLen,
74 bool useHs =
false,
int rootedAtAtom = -1,
75 boost::dynamic_bitset<> *ignoreAtoms =
nullptr);
93 const ROMol &mol,
unsigned int targetLen,
bool useHs =
false,
94 int rootedAtAtom = -1, boost::dynamic_bitset<> *ignoreAtoms =
nullptr);
112 const ROMol &mol,
unsigned int targetLen,
bool useHs =
false,
113 bool useBO =
true,
int rootedAtAtom = -1,
114 boost::dynamic_bitset<> *ignoreAtoms =
nullptr);
135 const ROMol &mol,
unsigned int targetLen,
bool useBonds =
true,
136 bool useHs =
false,
int rootedAtAtom = -1,
bool onlyShortestPaths =
false,
137 boost::dynamic_bitset<> *ignoreAtoms =
nullptr);
139 const ROMol &mol,
unsigned int lowerLen,
unsigned int upperLen,
140 bool useBonds =
true,
bool useHs =
false,
int rootedAtAtom = -1,
141 bool onlyShortestPaths =
false,
142 boost::dynamic_bitset<> *ignoreAtoms =
nullptr);
162 const ROMol &mol,
unsigned int radius,
unsigned int rootedAtAtom,
163 bool useHs =
false,
bool enforceSize =
true,
164 std::unordered_map<unsigned int, unsigned int> *atomMap =
nullptr);
#define RDKIT_SUBGRAPHS_EXPORT
std::list< PATH_TYPE > PATH_LIST
RDKIT_SUBGRAPHS_EXPORT PATH_TYPE findAtomEnvironmentOfRadiusN(const ROMol &mol, unsigned int radius, unsigned int rootedAtAtom, bool useHs=false, bool enforceSize=true, std::unordered_map< unsigned int, unsigned int > *atomMap=nullptr)
Find bond subgraphs of a particular radius around an atom. Return empty result if there is no bond at...
RDKIT_SUBGRAPHS_EXPORT INT_PATH_LIST_MAP findAllPathsOfLengthsMtoN(const ROMol &mol, unsigned int lowerLen, unsigned int upperLen, bool useBonds=true, bool useHs=false, int rootedAtAtom=-1, bool onlyShortestPaths=false, boost::dynamic_bitset<> *ignoreAtoms=nullptr)
std::vector< int > PATH_TYPE
RDKIT_SUBGRAPHS_EXPORT PATH_LIST findAllPathsOfLengthN(const ROMol &mol, unsigned int targetLen, bool useBonds=true, bool useHs=false, int rootedAtAtom=-1, bool onlyShortestPaths=false, boost::dynamic_bitset<> *ignoreAtoms=nullptr)
find all paths of a particular size
std::map< int, PATH_LIST > INT_PATH_LIST_MAP
RDKIT_SUBGRAPHS_EXPORT INT_PATH_LIST_MAP findAllSubgraphsOfLengthsMtoN(const ROMol &mol, unsigned int lowerLen, unsigned int upperLen, bool useHs=false, int rootedAtAtom=-1, boost::dynamic_bitset<> *ignoreAtoms=nullptr)
find all bond subgraphs in a range of sizes
RDKIT_SUBGRAPHS_EXPORT PATH_LIST findUniqueSubgraphsOfLengthN(const ROMol &mol, unsigned int targetLen, bool useHs=false, bool useBO=true, int rootedAtAtom=-1, boost::dynamic_bitset<> *ignoreAtoms=nullptr)
find unique bond subgraphs of a particular size
INT_PATH_LIST_MAP::iterator INT_PATH_LIST_MAP_I
RDKIT_SUBGRAPHS_EXPORT PATH_LIST findAllSubgraphsOfLengthN(const ROMol &mol, unsigned int targetLen, bool useHs=false, int rootedAtAtom=-1, boost::dynamic_bitset<> *ignoreAtoms=nullptr)
find all bond subgraphs of a particular size
INT_PATH_LIST_MAP::const_iterator INT_PATH_LIST_MAP_CI
PATH_LIST::const_iterator PATH_LIST_CI