openoptics.OpticalRouting.routing_ksp

Contents

openoptics.OpticalRouting.routing_ksp#

openoptics.OpticalRouting.routing_ksp(slice_to_topo: Dict[int, networkx.Graph]) List[Path][source]#

Opera routing by searching the shortest path for each time slice.

Parameters:

slice_to_topo – Topology for each time slice

Returns:

A list of paths for direct routing