pydistsim.restrictions.base_restriction

Base classes for restrictions over message passing networks.

All restrictions are based on “Design and Analysis of Distributed Algorithms” by Nicola Santoro.

There are two types of restrictions: checkable and applicable. Checkable restrictions can be checked for a network, while applicable restrictions can be applied to a network. Sometimes, an applicable restriction may check itself.

Functions

abstractclassmethod

Classes

ApplicableRestriction

Base class for restrictions that can be applied to a network.

CheckableRestriction

Base class for checkable restrictions over a message passing network.

Restriction

Base class for all restrictions over a message passing network.