wsnsim/node.py
def _get_equivalent_node(
        node: Node,
        simulation_nodes: Iterable[SimulationNode]) \
        -> SimulationNode:
    """Returns the equivalent simulation node of one node."""
    for simulation_node in simulation_nodes:
        if node.address == simulation_node.address:
            return simulation_node
Returns the equivalent simulation node of one node.
Returns the equivalent simulation node of one node.
Returns the equivalent simulation node of one node .
def _get_equivalent_node(
        node: Node,
        simulation_nodes: Iterable[SimulationNode]) \
        -> SimulationNode:
    for simulation_node in simulation_nodes:
        if node.address == simulation_node.address:
            return simulation_node
def _get_equivalent_node ( node : Node , simulation_nodes : Iterable [ SimulationNode ] ) -> SimulationNode : for simulation_node in simulation_nodes : if node . address == simulation_node . address : return simulation_node
Returns the equivalent simulation node of one node.
Returns the equivalent simulation node of one node .
"""Returns the equivalent simulation node of one node."""
node
Node
simulation_nodes
Iterable[SimulationNode]