pydistsim.network.sensor.DistSensor

class DistSensor[source]

Provides distance between node and its neighbors.

__init__()

Methods

__init__([dict_args, scale, pf])

name()

Get the name of the Sensor class.

read(node)

Read the distances from the current node to its neighbors.