pydistsim.network.rangenetwork.UdgRangeType
- class UdgRangeType(environment: Environment)[source]
Bases:
RangeTypeUnit disc graph range type.
This class represents the Unit Disc Graph (UDG) channel type. It determines if two nodes are within communication range based on their positions and communication range.
- Parameters:
environment (Environment) – The environment in which the channel operates.
Methods
__init__Check if two nodes are within communication range.