OEMCSSimFuncBase

class OEMCSSimFuncBase

OEMCSSimFuncBase is an abstract base class which defines the interface necessary to perform similarity calculations that populate OEMCSMolSimScore objects.

The following classes derive from this class:

Constructors

OEMCSSimFuncBase() -> OEMCSSimFuncBase

Default constructor.

operator()

__call__(commonAB: int, totalA: int, totalB: int) -> float

Virtual const operator that takes three count values and computes the similarity value. Depending on the method, the counts provided may be either the atom or bond counts for the MCS core, query molecule and indexed molecule.

CreateCopy

CreateCopy() -> OEMCSSimFuncBase

OEMCSSimFuncBase.CreateCopy is a virtual constructor which allows copying of concrete derived objects using a reference to this base class.

GetMCSSimTypeString

GetMCSSimTypeString() -> str

Returns a string representation of the concrete derived class.