OEFPTypeParams¶
class OEFPTypeParams
This class represents OEFPTypeParams.
See also
Fingerprint parameters section
Constructors¶
OEFPTypeParams(const std::string &typestr)
Constructor that parses the given string as a representation of a fingerprint and extracts the parameters that are used to generate the fingerprint.
See also
OEFPTypeBase.GetFPTypeStringmethod
OEFPTypeParams(const OEFPTypeBase *fptype)
Constructor that extracts the parameters that are used to generate the fingerprint type.
See also
OEFPTypeBase class
GetAtomTypes¶
unsigned int GetAtomTypes() const
Returns
the atom types extracted from the string for
OEFPType.Path,OEFPType.CircularandOEFPType.Treefingerprint typeszero for
OEFPType.LingoandOEFPType.MACCS166fingerprint types
The return value is taken from the OEFPAtomType
namespace.
See also
OEGetFPAtomTypefunction
GetBondTypes¶
unsigned int GetBondTypes() const
Returns
the bond types extracted from the string for
OEFPType.Path,OEFPType.CircularandOEFPType.Treefingerprint typeszero for
OEFPType.LingoandOEFPType.MACCS166fingerprint types
The return value is taken from the OEFPBondType
namespace.
See also
OEGetFPBondTypefunction
GetFPType¶
unsigned int GetFPType() const
Returns the fingerprint type extracted from the string.
The return value is taken from the OEFPType
namespace.
GetMaxDistance¶
unsigned int GetMaxDistance() const
Returns:
the size of the largest path fragments (in bonds), if the fingerprint type is
OEFPType.Paththe size of the largest circular fragments (in radius), if the fingerprint type is
OEFPType.Circularthe size of the largest tree fragments (in bonds), if the fingerprint type is
OEFPType.Treezero for
OEFPType.LingoandOEFPType.MACCS166fingerprint types
GetMinDistance¶
unsigned int GetMinDistance() const
Returns:
the size of the smallest path fragments (in bonds), if the fingerprint type is
OEFPType.Paththe size of the smallest circular fragments (in radius), if the fingerprint type is
OEFPType.Circularthe size of the smallest tree fragments (in bonds), if the fingerprint type is
OEFPType.Treezero for
OEFPType.LingoandOEFPType.MACCS166fingerprint types
GetNumBits¶
unsigned int GetNumBits() const
Returns:
the size of the fingerprint in bits for
OEFPType.Path,OEFPType.CircularandOEFPType.Treefingerprint types166 for
OEFPType.MACCS166fingerprint typezero for
OEFPType.Lingofingerprint type
GetVersion¶
unsigned short GetVersion() const
Returns the version number.
See also
OEGetFingerPrintVersionStringfunction
IsValid¶
bool IsValid() const
Returns whether the string was valid from which the OEFPTypeParams object was initialized.