QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.base.Sq Class Reference
Inheritance diagram for qdpy.algorithms.base.Sq:
qdpy.algorithms.base.QDAlgorithmLike qdpy.base.Summarisable qdpy.base.Saveable qdpy.base.Copyable qdpy.base.CreatableFromConfig

Public Member Functions

Mapping[str, Any] __get_saved_state__ (self)
None next (self, bool verbose=False)
 switch_to (self, int idx, bool verbose=False)
Public Member Functions inherited from qdpy.base.Summarisable
Mapping[str, Any] __get_summary_state__ (self)
str summary (self, Optional[int] max_depth=None, Optional[int] max_entry_length=250)
Public Member Functions inherited from qdpy.base.Saveable
Mapping[str, Any] __get_saved_state__ (self)
None save (self, str output_path, str output_type="pickle")
Public Member Functions inherited from qdpy.base.CreatableFromConfig
Any from_config (cls, Mapping[str, Any] config, **Any kwargs)

Detailed Description

Run complete child optimisations in a fixed sequence.

Switching can feed the next child from its archive or the previous
child's best candidate. A stage failure emits a warning and the next
stage can still run. When every stage fails, the last error is raised.

Definition at line 1259 of file base.py.

Member Function Documentation

◆ __get_saved_state__()

Mapping[str, Any] qdpy.algorithms.base.Sq.__get_saved_state__ ( self)
Return a dictionary containing the relevant information to save. Only include information from `self.algorithms`.

Definition at line 1295 of file base.py.

◆ next()

None qdpy.algorithms.base.Sq.next ( self,
bool verbose = False )
Switch to the next algorithm in Sequence `self.algorithms`, if there is one.

Definition at line 1302 of file base.py.

◆ switch_to()

qdpy.algorithms.base.Sq.switch_to ( self,
int idx,
bool verbose = False )
Switch to another algorithm of index `idx` in `self.algorithms`.

Definition at line 1307 of file base.py.


The documentation for this class was generated from the following file: