:py:mod:`kosmos.protocols.routing.dijkstra_routing` =================================================== .. py:module:: kosmos.protocols.routing.dijkstra_routing Classes ------- .. py:class:: DijkstraRoutingProtocol(config: kosmos.protocols.config.protocol.RoutingProtocolConfig, network: kosmos.topology.net.Network, source_node: kosmos.topology.node.Node, target_node: kosmos.topology.node.Node) Bases: :py:class:`kosmos.protocols.routing.routing.RoutingProtocol` Dijkstra routing protocol. Initialize the Dijkstra routing protocol. :param config: Routing protocol configuration. :type config: RoutingProtocolConfig :param network: The network topology. :type network: Network :param source_node: The source node. :type source_node: Node :param target_node: The target node. :type target_node: Node | .. rubric:: Methods .. py:method:: execute() -> kosmos.protocols.protocol_result.RoutingProtocolResult Execute the Dijkstra routing protocol. :returns: Result of the routing protocol execution. :rtype: RoutingProtocolResult