o
    }oi                     @   s&   d dl Z d dlZG dd de jZdS )    Nc                   @   s,   e Zd ZdZejdddddefddZd	S )

BasePrunerzBase class for pruners.studyzoptuna.study.Studytrialzoptuna.trial.FrozenTrialreturnc                 C   s   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    r   H/home/ubuntu/.local/lib/python3.10/site-packages/optuna/pruners/_base.pyprune	   s   zBasePruner.pruneN)__name__
__module____qualname____doc__abcabstractmethodboolr
   r   r   r   r	   r      s    r   )r   optunaABCr   r   r   r   r	   <module>   s    