.. include:: ../substitutions

.. oe:namespace:: OEGraphSim

.. meta::
   :keywords: OEEuclid

.. oe:function:: OEEuclid

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

      .. oe:api::

         float OEEuclid(const OEFingerPrint& fpA, const OEFingerPrint& fpB)

   .. oe:language:: python

      .. oe:api:: python

         OEEuclid(fpA: OEFingerPrint, fpB: OEFingerPrint) -> float

   Calculates the Euclidean similarity value of two
   :ref:`OEFingerPrint <OEGraphSim_OEFingerPrint>` objects.

   **Formula:**
     :math:`Sim_{Euclid}(A,B) = \sqrt{\frac{bothAB + neitherAB}{onlyA + onlyB + bothAB + neitherAB}}`

   .. seealso::

      * :ref:`section_measure_euclid` section
