L i>ddlZddlZGddejZy)NcBeZdZdZej dddddefdZy) BasePrunerzBase class for pruners.studyzoptuna.study.Studytrialzoptuna.trial.FrozenTrialreturnct)aJudge 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)selfrrs Z/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/optuna/pruners/_base.pyprunezBasePruner.prune s &"!N)__name__ __module__ __qualname____doc__abcabstractmethodboolr r r rrs5!"/"8R"W[""r r)roptunaABCrrr r rs ""r