.. include:: ../../toolkit-substitutions

.. oe:namespace:: OEBioisostere

.. meta::
   :keywords: OEMolPropertyOptions, MolPropertyOptions


.. _OEBioisostere_OEMolPropertyOptions:

.. oe:class:: OEMolPropertyOptions

   .. attention::

      |PRELIMINARY-API|

   .. oe:api::

      class OEMolPropertyOptions : public OESystem::OEOptions

   This class provides an interface to set up options related to medicinal chemistry
   property limits during fragment replacement scoring.

   The :ref:`OEMolPropertyOptions <OEBioisostere_OEMolPropertyOptions>` class defines the following public methods:
    * :oe:meth:`GetEganEgg<OEBioisostere::OEMolPropertyOptions::GetEganEgg>` and
      :oe:meth:`SetEganEgg<OEBioisostere::OEMolPropertyOptions::SetEganEgg>`
    * :oe:meth:`GetExtrinsicMaxOptions<OEBioisostere::OEMolPropertyOptions::GetExtrinsicMaxOptions>` and
      :oe:meth:`SetExtrinsicMaxOptions<OEBioisostere::OEMolPropertyOptions::SetExtrinsicMaxOptions>`
    * :oe:meth:`GetExtrinsicMinOptions<OEBioisostere::OEMolPropertyOptions::GetExtrinsicMinOptions>` and
      :oe:meth:`SetExtrinsicMinOptions<OEBioisostere::OEMolPropertyOptions::SetExtrinsicMinOptions>`
    * :oe:meth:`GetIntrinsicMaxOptions<OEBioisostere::OEMolPropertyOptions::GetIntrinsicMaxOptions>` and
      :oe:meth:`SetIntrinsicMaxOptions<OEBioisostere::OEMolPropertyOptions::SetIntrinsicMaxOptions>`
    * :oe:meth:`GetIntrinsicMinOptions<OEBioisostere::OEMolPropertyOptions::GetIntrinsicMinOptions>` and
      :oe:meth:`SetIntrinsicMinOptions<OEBioisostere::OEMolPropertyOptions::SetIntrinsicMinOptions>`
    * :oe:meth:`GetVeber<OEBioisostere::OEMolPropertyOptions::GetVeber>` and
      :oe:meth:`SetVeber<OEBioisostere::OEMolPropertyOptions::SetVeber>`


   .. _OEBioisostere_OEMolPropertyOptions_Constructors:
   .. oe:method:: Constructors

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

         .. oe:api::

            OEMolPropertyOptions()
            OEMolPropertyOptions(const OEMolPropertyOptions&)

      .. oe:language:: python

         .. oe:api:: python

            OEMolPropertyOptions() -> OEMolPropertyOptions
            OEMolPropertyOptions(arg2: OEMolPropertyOptions) -> OEMolPropertyOptions

      Default and copy constructors.


   .. _OEBioisostere_OEMolPropertyOptions_operator=:
   .. oe:method:: operator=

      .. oe:language:: c++

         .. oe:api::

            OEMolPropertyOptions &operator=(const OEMolPropertyOptions &)

      Assignment operator.


   .. _OEBioisostere_OEMolPropertyOptions_GetEganEgg:
   .. oe:method:: GetEganEgg

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

         .. oe:api::

            bool GetEganEgg() const

      .. oe:language:: python

         .. oe:api:: python

            GetEganEgg() -> bool

      See :oe:meth:`SetEganEgg<OEBioisostere::OEMolPropertyOptions::SetEganEgg>` method.


   .. _OEBioisostere_OEMolPropertyOptions_GetExtrinsicMaxOptions:
   .. oe:method:: GetExtrinsicMaxOptions

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

         .. oe:api::

            OEExtrinsicPropOptions& GetExtrinsicMaxOptions()
            const OEExtrinsicPropOptions& GetExtrinsicMaxOptions() const

      .. oe:language:: python

         .. oe:api:: python

            GetExtrinsicMaxOptions() -> OEExtrinsicPropOptions

      See :oe:meth:`SetExtrinsicMaxOptions<OEBioisostere::OEMolPropertyOptions::SetExtrinsicMaxOptions>` method.


   .. _OEBioisostere_OEMolPropertyOptions_GetExtrinsicMinOptions:
   .. oe:method:: GetExtrinsicMinOptions

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

         .. oe:api::

            OEExtrinsicPropOptions& GetExtrinsicMinOptions()
            const OEExtrinsicPropOptions& GetExtrinsicMinOptions() const

      .. oe:language:: python

         .. oe:api:: python

            GetExtrinsicMinOptions() -> OEExtrinsicPropOptions

      See :oe:meth:`SetExtrinsicMinOptions<OEBioisostere::OEMolPropertyOptions::SetExtrinsicMinOptions>` method.


   .. _OEBioisostere_OEMolPropertyOptions_GetIntrinsicMaxOptions:
   .. oe:method:: GetIntrinsicMaxOptions

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

         .. oe:api::

            OEIntrinsicPropOptions& GetIntrinsicMaxOptions()
            const OEIntrinsicPropOptions& GetIntrinsicMaxOptions() const

      .. oe:language:: python

         .. oe:api:: python

            GetIntrinsicMaxOptions() -> OEIntrinsicPropOptions

      See :oe:meth:`SetIntrinsicMaxOptions<OEBioisostere::OEMolPropertyOptions::SetIntrinsicMaxOptions>` method.


   .. _OEBioisostere_OEMolPropertyOptions_GetIntrinsicMinOptions:
   .. oe:method:: GetIntrinsicMinOptions

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

         .. oe:api::

            OEIntrinsicPropOptions& GetIntrinsicMinOptions()
            const OEIntrinsicPropOptions& GetIntrinsicMinOptions() const

      .. oe:language:: python

         .. oe:api:: python

            GetIntrinsicMinOptions() -> OEIntrinsicPropOptions

      See :oe:meth:`SetIntrinsicMinOptions<OEBioisostere::OEMolPropertyOptions::SetIntrinsicMinOptions>` method.


   .. _OEBioisostere_OEMolPropertyOptions_GetVeber:
   .. oe:method:: GetVeber

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

         .. oe:api::

            bool GetVeber() const

      .. oe:language:: python

         .. oe:api:: python

            GetVeber() -> bool

      See :oe:meth:`SetVeber<OEBioisostere::OEMolPropertyOptions::SetVeber>` method.


   .. _OEBioisostere_OEMolPropertyOptions_SetEganEgg:
   .. oe:method:: SetEganEgg

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

         .. oe:api::

            bool SetEganEgg(const bool)

      .. oe:language:: python

         .. oe:api:: python

            SetEganEgg(value: bool) -> bool

      Sets the requirement to fulfill the “Egan egg” measure of bioavailability for
      any selected analog. This measure was published by Bill Egan while at Pharmacopia [Egan-2000]_
      and rejects compounds with a LogP > 5.88 or a PSA > 131.6. 
      **Default: true**


   .. _OEBioisostere_OEMolPropertyOptions_SetExtrinsicMaxOptions:
   .. oe:method:: SetExtrinsicMaxOptions

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

         .. oe:api::

            void SetExtrinsicMaxOptions(const OEExtrinsicPropOptions&)

      .. oe:language:: python

         .. oe:api:: python

            SetExtrinsicMaxOptions(opts: OEExtrinsicPropOptions) -> None

      Sets :oe:cls:`options <OEBioisostere::OEExtrinsicPropOptions>` related to maximum 
      values of the extrinsic molecule properties.


   .. _OEBioisostere_OEMolPropertyOptions_SetExtrinsicMinOptions:
   .. oe:method:: SetExtrinsicMinOptions

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

         .. oe:api::

            void SetExtrinsicMinOptions(const OEExtrinsicPropOptions&)

      .. oe:language:: python

         .. oe:api:: python

            SetExtrinsicMinOptions(opts: OEExtrinsicPropOptions) -> None

      Sets :oe:cls:`options <OEBioisostere::OEExtrinsicPropOptions>` related to minimum
      values of the extrinsic molecule properties.


   .. _OEBioisostere_OEMolPropertyOptions_SetIntrinsicMaxOptions:
   .. oe:method:: SetIntrinsicMaxOptions

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

         .. oe:api::

            void SetIntrinsicMaxOptions(const OEIntrinsicPropOptions&)

      .. oe:language:: python

         .. oe:api:: python

            SetIntrinsicMaxOptions(opts: OEIntrinsicPropOptions) -> None

      Sets :oe:cls:`options <OEBioisostere::OEIntrinsicPropOptions>` related to maximum 
      values of the intrinsic molecule properties.


   .. _OEBioisostere_OEMolPropertyOptions_SetIntrinsicMinOptions:
   .. oe:method:: SetIntrinsicMinOptions

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

         .. oe:api::

            void SetIntrinsicMinOptions(const OEIntrinsicPropOptions&)

      .. oe:language:: python

         .. oe:api:: python

            SetIntrinsicMinOptions(opts: OEIntrinsicPropOptions) -> None

      Sets :oe:cls:`options <OEBioisostere::OEIntrinsicPropOptions>` related to minimum
      values of the intrinsic molecule properties.


   .. _OEBioisostere_OEMolPropertyOptions_SetVeber:
   .. oe:method:: SetVeber

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

         .. oe:api::

            bool SetVeber(const bool)

      .. oe:language:: python

         .. oe:api:: python

            SetVeber(value: bool) -> bool

      Sets the requirement to fulfill the measure of Veber bioavailability for any
      selected analog. This eliminates compounds with a PSA > 140 or more than 10 rotatable bonds.
      Veber measured bioavailability during his time at GSK [Veber-2002]_.
      **Default: False**
