L i ddlmZddlmZddlmZddlmZer ddlmZddl m Z eje Z GddZy ) ) annotations)Any) TYPE_CHECKING)logging)Sequence)StudyDirectioncpeZdZdZdd d dZd dZd dZd dZed dZ ed d Z y) FrozenStudyaCBasic attributes of a :class:`~optuna.study.Study`. This class is private and not referenced by Optuna users. 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 list of :class:`~optuna.study.StudyDirection` objects. 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. N) directionsc||_| | td|t||_n| |g|_n td||_||_||_y)Nz,Specify one of `direction` and `directions`.z1Specify only one of `direction` and `directions`.) study_name ValueErrorlist _directions user_attrs system_attrs _study_id)selfr directionrrstudy_idr s Z/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/optuna/study/_frozen.py__init__zFrozenStudy.__init__*sg%  !3KL L  ##J/D   " ){D PQ Q$(!c`t|tstS|j|jk(SN) isinstancer NotImplemented__dict__rothers r__eq__zFrozenStudy.__eq__As%%-! !~~..rc`t|tstS|j|jkSrrr rrrs r__lt__zFrozenStudy.__lt__Gs%%-! !~~//rc`t|tstS|j|jkSrr#rs r__le__zFrozenStudy.__le__Ms%%-! !~~00rcft|jdkDr td|jdS)NzDThis attribute is not available during multi-objective optimization.r)lenr RuntimeErrorrs rrzFrozenStudy.directionSs8 t 1 $V ""rc|jSr)rr+s rr zFrozenStudy.directions\sr) r strrzStudyDirection | Nonerdict[str, Any]rr.rintr zSequence[StudyDirection] | None)r rreturnbool)r0r)r0zlist[StudyDirection]) __name__ __module__ __qualname____doc__rr!r$r&propertyrr rrr r s>7;"")"# " % "  "4"./ 0 1 ##  rr N) __future__rtypingrroptunarcollections.abcroptuna.study._study_directionr get_loggerr2_loggerr r7rrr?s<" (< '  X &L L r