Ë
    þÍ:jê  ã                  óZ   — d dl mZ d dlZd dlmZ erd dlZ G d„ dej                  «      Zy)é    )ÚannotationsN)ÚTYPE_CHECKINGc                  ó6   — e Zd ZdZej
                  dd„«       Zy)Ú
BasePrunerzBase class for pruners.c                ó   — t         ‚)a�  Judge whether the trial should be pruned based on the reported values.

        Note that this method is not supposed to be called by library users. Instead,
        :func:`optuna.trial.Trial.report` and :func:`optuna.trial.Trial.should_prune` provide
        user interfaces to implement pruning mechanism in an objective function.

        Args:
            study:
                Study object of the target study.
            trial:
                FrozenTrial object of the target trial.
                Take a copy before modifying this object.

        Returns:
            A boolean value representing whether the trial should be pruned.
        )ÚNotImplementedError)ÚselfÚstudyÚtrials      úi/home/mcse/projects/srt_converter/srt-converter-venv/lib/python3.12/site-packages/optuna/pruners/_base.pyÚprunezBasePruner.prune   s
   € ô& "Ð!ó    N)r
   z'optuna.study.Study'r   z'optuna.trial.FrozenTrial'ÚreturnÚbool)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚabcÚabstractmethodr   © r   r   r   r      s   „ Ù!à×Ñò"ó ñ"r   r   )Ú
__future__r   r   Útypingr   ÚoptunaÚABCr   r   r   r   ú<module>r      s&   ðÝ "ã 
Ý  ñ Ûô"�—‘õ "r   