wsnsim/node.py
def _main_routine(self) -> Generator[Event, Any, Any]:
        """Main routine of the nodes."""
        self._print_info('is awake')
        # Start routing protocol setup routine
        self.env.process(self.routing_protocol.setup())
        # noinspection PyArgumentEqualDefault
        yield self.env.timeout(0)
Main routine of the nodes.
Main routine of the nodes.
Main routine of the nodes .
def _main_routine(self) -> Generator[Event, Any, Any]:
        self._print_info('is awake')
        self.env.process(self.routing_protocol.setup())
        yield self.env.timeout(0)
def _main_routine ( self ) -> Generator [ Event , Any , Any ] : self . _print_info ( 'is awake' ) self . env . process ( self . routing_protocol . setup ( ) ) yield self . env . timeout ( 0 )
Main routine of the nodes.
Main routine of the nodes .
"""Main routine of the nodes.""" # Start routing protocol setup routine # noinspection PyArgumentEqualDefault
self