
    -ji                        S SK Jr  S SKJr  S SKrS SKJr  S SKJr  S SKJ	r	  S SK
Jr  S SKJr  \(       a  S S	KJr  \	R                   " \5      r " S
 S5      rg)    )annotations)SequenceN)Any)TYPE_CHECKING)logging)optuna_warn)StudyDirection)FrozenTrialc                      \ rS rSrSrSS.                 SS jjrSS jrSS jrSS jr\	SS	 j5       r
\	SS
 j5       r\	SS j5       rSrg)StudySummary   aw  Basic attributes and aggregated results of a :class:`~optuna.study.Study`.

See also :func:`optuna.study.get_all_study_summaries`.

Attributes:
    study_name:
        Name of the :class:`~optuna.study.Study`.
    direction:
        :class:`~optuna.study.StudyDirection` of the :class:`~optuna.study.Study`.

        .. note::
            This attribute is only available during single-objective optimization.
    directions:
        A sequence of :class:`~optuna.study.StudyDirection` objects.
    best_trial:
        :class:`optuna.trial.FrozenTrial` with best objective value in the
        :class:`~optuna.study.Study`.
    user_attrs:
        Dictionary that contains the attributes of the :class:`~optuna.study.Study` set with
        :func:`optuna.study.Study.set_user_attr`.
    system_attrs:
        Dictionary that contains the attributes of the :class:`~optuna.study.Study` internally
        set by Optuna.

        .. warning::
            Deprecated in v3.1.0. ``system_attrs`` argument will be removed in the future.
            The removal of this feature is currently scheduled for v5.0.0,
            but this schedule is subject to change.
            See https://github.com/optuna/optuna/releases/tag/v3.1.0.
    n_trials:
        The number of trials ran in the :class:`~optuna.study.Study`.
    datetime_start:
        Datetime where the :class:`~optuna.study.Study` started.

N)
directionsc	                   Xl         Uc  U	c  [        S5      eU	b  [        U	5      U l        OUb	  U/U l        O[        S5      eX0l        X@l        XPl        X`l        Xpl        Xl	        g )Nz,Specify one of `direction` and `directions`.z1Specify only one of `direction` and `directions`.)

study_name
ValueErrorlist_directions
best_trial
user_attrs_system_attrsn_trialsdatetime_start	_study_id)
selfr   	directionr   r   system_attrsr   r   study_idr   s
             U/home/james-whalen/.local/lib/python3.13/site-packages/optuna/study/_study_summary.py__init__StudySummary.__init__8   so     %!3KLL##J/D" ){DPQQ$$) ,!    c                j    [        U[        5      (       d  [        $ UR                  U R                  :H  $ N)
isinstancer   NotImplemented__dict__r   others     r   __eq__StudySummary.__eq__U   s(    %..!!~~..r!   c                j    [        U[        5      (       d  [        $ U R                  UR                  :  $ r#   r$   r   r%   r   r'   s     r   __lt__StudySummary.__lt__[   s(    %..!!~~//r!   c                j    [        U[        5      (       d  [        $ U R                  UR                  :*  $ r#   r,   r'   s     r   __le__StudySummary.__le__a   s(    %..!!~~00r!   c                h    [        U R                  5      S:  a  [        S5      eU R                  S   $ )N   zDThis attribute is not available during multi-objective optimization.r   )lenr   RuntimeErrorr   s    r   r   StudySummary.directiong   s8    t 1$V  ""r!   c                    U R                   $ r#   )r   r6   s    r   r   StudySummary.directionsp   s    r!   c                :    [        S[        5        U R                  $ )Nz`system_attrs` has been deprecated in v3.1.0. The removal of this feature is currently scheduled for v5.0.0, but this schedule is subject to change. See https://github.com/optuna/optuna/releases/tag/v3.1.0.)r   FutureWarningr   r6   s    r   r   StudySummary.system_attrst   s#    H 	
 !!!r!   )r   r   r   r   r   r   r   r   )r   strr   zStudyDirection | Noner   zFrozenTrial | Noner   dict[str, Any]r   r>   r   intr   zdatetime.datetime | Noner   r?   r   zSequence[StudyDirection] | None)r(   r   returnbool)r@   r	   )r@   zSequence[StudyDirection])r@   r>   )__name__
__module____qualname____firstlineno____doc__r   r)   r-   r0   propertyr   r   r   __static_attributes__ r!   r   r   r      s    "^ 7;"" )" '	"
 #" %" " 1" " 4":/01 # #     	" 	"r!   r   )
__future__r   collections.abcr   datetimetypingr   r   optunar   optuna._warningsr   optuna.study._study_directionr	   optuna.trialr
   
get_loggerrB   _loggerr   rI   r!   r   <module>rT      sA    " $      ( 8 (


X
&k" k"r!   