.. # split from OEMedChemFunctions.rst:191


.. oe:namespace:: OEMedChem

.. meta::
   :keywords: OEDetermineRingComplexity

.. oe:function:: OEDetermineRingComplexity

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

      .. oe:api::

         float OEDetermineRingComplexity(const OEChem::OEMolBase& mol)

   .. oe:language:: python

      .. oe:api:: python

         OEDetermineRingComplexity(mol: Union[OEGraphMol,OEMol,OEQMol]) -> float

   .. note::

      The molecule argument is ``const``, so this function requires that the
      :oe:func:`OEChem::OEFindRingAtomsAndBonds` perception activity has been
      performed prior to calling this function.

   This is a non-SSSR adaptation of the ring complexity algorithm of [Gasteiger-1979]_.  The values
   of this complexity are generally somewhat lower, but are well-correlated and follow the
   spirit of the SSSR method.

   .. seealso::

      * :oe:func:`OEMedChem::OEDetermineMolecularComplexity`

