.. include:: ../substitutions

.. oe:namespace:: OEGraphSim

.. meta::
   :keywords: OEGetTreeFPType

.. oe:function:: OEGetTreeFPType

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

      .. oe:api::

         const OEFPTypeBase* OEGetTreeFPType(unsigned int numbits,
                                             unsigned int minbonds,
                                             unsigned int maxbonds,
                                             unsigned int atype,
                                             unsigned int btype)

   .. oe:language:: python

      .. oe:api:: python

         OEGetTreeFPType(numbits: int, minbonds: int, maxbonds: int,
                         atype: int, btype: int) -> OEFPTypeBase

   Returns an :oe:const:`OEGraphSim::OEFPType::Tree`
   fingerprint type generated with the given parameters.

   *numbits*
      |makefpnumbits|

   *minbonds*, *maxbonds*
      The smallest and largest tree fragments (in bonds) that are
      enumerated during the fingerprint generation.
      All enumerated tree fragments are hashed into the
      :ref:`OEFingerPrint <OEGraphSim_OEFingerPrint>` object.

   *atype*
      |makefpatomtype|

   *btype*
      |makefpbondtype|

   .. seealso::

      * :ref:`OEFPTypeBase <OEGraphSim_OEFPTypeBase>` class
