
    (^i                     >    d dl Z d dlZ G d de j                        Zy)    Nc                   B    e Zd ZdZej
                  dddddefd       Zy)	
BasePrunerzBase class for pruners.studyzoptuna.study.Studytrialzoptuna.trial.FrozenTrialreturnc                     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)selfr   r   s      U/var/www/html/hubwallet-dev/venv/lib/python3.12/site-packages/optuna/pruners/_base.pyprunezBasePruner.prune	   s
    & "!    N)__name__
__module____qualname____doc__abcabstractmethodboolr    r   r   r   r      s5    !"/ "8R "W[ " "r   r   )r   optunaABCr   r   r   r   <module>r      s    
 " "r   