
.. oe:namespace:: OEMedChem

.. meta::
   :keywords: OETotalMolecularComplexity

.. oe:function:: OETotalMolecularComplexity

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

      .. oe:api::

         float OETotalMolecularComplexity(const OEChem::OEMolBase& mol)

   .. oe:language:: python

      .. oe:api:: python

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

   .. note::

      The molecule argument is ``const``, so the
      :oe:func:`OEChem::OEPerceiveChiral` perception activity must be
      performed prior to calling this function.

   This is the final function to use for assessing molecular complexity.
   :oe:func:`OEMedChem::OETotalMolecularComplexity` = :oe:func:`OEMedChem::OENormalMolecularComplexity` + :oe:func:`OEMedChem::OENormalStereoComplexity`.
   In turn, :oe:func:`OEMedChem::OENormalMolecularComplexity` = :oe:func:`OEMedChem::OEDetermineConnectiveComplexity` + :oe:func:`OEMedChem::OEDetermineElementalComplexity`.
   Ring complexity is not included because it did not contribute significantly to reproduction of chemists' notion of synthetic accessibility.
   Ring complexity is available in :oe:func:`OEMedChem::OEDetermineRingComplexity`.

   .. seealso::

      * :oe:func:`OEMedChem::OEDetermineConnectiveComplexity`
      * :oe:func:`OEMedChem::OEDetermineElementalComplexity`
      * :oe:func:`OEMedChem::OEDetermineMolecularComplexity`
      * :oe:func:`OEMedChem::OEDetermineRingComplexity`
      * :oe:func:`OEMedChem::OEDetermineSymmetryComplexity`
      * :oe:func:`OEMedChem::OENormalMolecularComplexity`
      * :oe:func:`OEMedChem::OENormalStereoComplexity`

