negmas.checkpoints Module

Implements Checkpoint functionality for easy dumping and restoration of any NamedObject in negmas.

Classes

CheckpointMixin()

Adds the ability to save checkpoints to a NamedObject

CheckpointRunner(folder[, id, callback, ...])

Runs an object based on its checkpoints saved in an earlier run

NamedObject([name, id, type_name])

The base class of all named entities.

Path(*args, **kwargs)

PurePath subclass that can make system calls.

PathLike()

Abstract base class for implementing the file system path protocol.

Class Inheritance Diagram

digraph inheritance7091a33fc9 { bgcolor=transparent; fontsize=11; randkir=TB; rankdir=LR; size=""; "CheckpointMixin" [URL="../../api/negmas.checkpoints.CheckpointMixin.html#negmas.checkpoints.CheckpointMixin",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Adds the ability to save checkpoints to a `NamedObject`"]; "CheckpointRunner" [URL="../../api/negmas.checkpoints.CheckpointRunner.html#negmas.checkpoints.CheckpointRunner",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Runs an object based on its checkpoints saved in an earlier run"]; }