.. oe:namespace:: OEEon


.. meta::
   :keywords: OEHighestChargeTanimoto, HighestChargeTanimoto


.. _OEEon_OEHighestChargeTanimoto:

.. oe:class:: OEHighestChargeTanimoto

   .. oe:api::

      struct OEHighestChargeTanimoto : public OEShape::OEHighestColorTanimoto{};


   This predicate compares two :ref:`OEBestOverlayScore<OEShape_OEBestOverlayScore>`
   objects and returns ``true`` if *s1* scores better than *s2* based on
   electrostatic charge-density Tanimoto coefficient (range 0–1). Higher values
   indicate better charge-distribution overlap between molecules. Used to sort or
   select results from :ref:`OEEonOverlay <OEEon_OEEonOverlay>` calculations.

   

   .. oe:method:: operator()

      .. oe:language:: c++ java csharp

         .. oe:api::

            bool operator()(const OEBestOverlayScore& s1, const OEBestOverlayScore& s2) const

      .. oe:language:: python

         .. oe:api:: python

            __call__(s1: OEBestOverlayScore, s2: OEBestOverlayScore) -> bool

   .. oe:method:: CreateCopy

      .. oe:language:: c++ java csharp

         .. oe:api::

            OESystem::OEBinaryFunction<OEBestOverlayScore , OEBestOverlayScore , bool>* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEHighestChargeTanimoto

