class OETanimotoSim : public OEGraphSim::OESimFuncBase
This class represents OETanimotoSim that calculates the Tanimoto similarity score.
See also
The following methods are publicly inherited from OESimFuncBase:
| operator() | CreateCopy | GetSimTypeString |
float operator()(const OEGraphSim::OEFingerPrint &fpA,
const OEGraphSim::OEFingerPrint &fpB) const
Returns the Tanimoto similarity coefficient of the two given OEFingerPrint objects.
OEGraphSim::OESimFuncBase *CreateCopy() const
Deep copy constructor that returns a copy of the object. The memory for the returned OETanimotoSim object is dynamically allocated and owned by the caller.
std::string GetSimTypeString() const
Returns a string representation of the OETanimotoSim class.