pydistsim.network.rangenetwork.RangeType
- class RangeType(environment: Environment)[source]
Bases:
ABCRangeType abstract base class.
This class represents an abstract base class for different types of channels. Subclasses of RangeType should implement the in_comm_range method.
- Parameters:
environment (Environment) – The environment in which the channel operates.
Methods
__init__Check if two nodes are within communication range.