.. oe:namespace:: OEShape



.. meta::
   :keywords: OEHighestTverskyCombo, HighestTverskyCombo


.. _OEShape_OEHighestTverskyCombo:

.. oe:class:: OEHighestTverskyCombo

   .. oe:api::


      class OEHighestTverskyCombo : public OESystem::OEBinaryPredicate<OEBestOverlayScore, OEBestOverlayScore>

   Predicate to compare :ref:`OEBestOverlayScore<OEShape_OEBestOverlayScore>` based on shape plus color Tversky.

   
   .. oe:method:: Constructors

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

         .. oe:api::

            OEHighestTverskyCombo(const float alpha)

      .. oe:language:: python

         .. oe:api:: python

            OEHighestTverskyCombo(alpha: float) -> OEHighestTverskyCombo

      Default constructor.  The argument requires the desired alpha value for 
      Tversky calculation.

   .. 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() -> OEBestOverlayScoreSorterFunc

