pydistsim.restrictions.topological.ShapeRestriction

class ShapeRestriction[source]

Bases: TopologicalRestriction, ABC

The communication topology has a specific shape.

Only the given shape is checked, not the connectivity, even if connectivity is often used with the shape. For strong connectivity, use Connectivity.

Methods

__init__

check

get_help_message