|
QDpy
|
Write plot-ready archive frames during an optimisation. More...
Public Member Functions | |
| capture (self, archives, *, iteration=None, evaluations=None) | |
| Write one frame from a live archive or a collection of archives. | |
| attach (self, algorithm, archives=None) | |
| Attach initial, periodic and final captures to a native optimiser. | |
Write plot-ready archive frames during an optimisation.
Capture archive measurements without running a renderer in the search. :param directory: New or empty output directory. :param every: Number of completed iterations between automatic captures.
Definition at line 74 of file _archive_history.py.
| qdpy._archive_history.ArchiveRecorder.attach | ( | self, | |
| algorithm, | |||
| archives = None ) |
Attach initial, periodic and final captures to a native optimiser.
Attach to an optimiser and return the recorder. Supply an archive mapping or a callable returning the archives at capture time. By default, record the optimiser's current container under one stable label. Attach after callbacks that update archives.
Definition at line 112 of file _archive_history.py.
| qdpy._archive_history.ArchiveRecorder.capture | ( | self, | |
| archives, | |||
| * | , | ||
| iteration = None, | |||
| evaluations = None ) |
Write one frame from a live archive or a collection of archives.
Write an archive frame and return its JSON path.
Definition at line 95 of file _archive_history.py.