pydistsim.algorithm.node_wrapper.SensorNodeAccess

class SensorNodeAccess(node: Node, manager: WrapperManager, **configs)[source]

Bases: NodeAccess

Methods

__init__

in_neighbors

Get the in-neighbors of the node.

neighbors

Get the out-neighbors of the node.

out_neighbors

Get the out-neighbors of the node.

unbox

Attributes

accessible_get

Attributes that can be 'read' from the node base object.

accessible_set

Attributes that can be 'read' or 'written' to the node base object.

clock

id

Get the id of the node.

memory

status

accessible_get = ('status', 'memory', 'clock', 'sensors', 'compositeSensor')

Attributes that can be ‘read’ from the node base object.