
    -ji                     >    S SK r S SKr " S S\ R                  5      rg)    Nc                   L    \ rS rSrSr\R                  SSSSS\4S j5       rS	r	g
)
BasePruner   zBase class for pruners.studyzoptuna.study.Studytrialzoptuna.trial.FrozenTrialreturnc                     [         e)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      N/home/james-whalen/.local/lib/python3.13/site-packages/optuna/pruners/_base.pypruneBasePruner.prune	   s
    & "!     N)
__name__
__module____qualname____firstlineno____doc__abcabstractmethodboolr   __static_attributes__r   r   r   r   r      s5    !"/ "8R "W[ " "r   r   )r   optunaABCr   r   r   r   <module>r      s    
 " "r   