mqt.ionshuttler.multi_shuttler.outside.cycles¶
Module Contents¶
- get_ions_in_pz_and_connections(graph: Graph, pz: ProcessingZone) int[source]¶
- get_ions_in_exit_connections(graph: Graph, pz: ProcessingZone) int[source]¶
- get_ions_in_parking(graph: Graph, pz: ProcessingZone) int[source]¶
- PENALTY = 100000000¶
- edge_weight_factory(exclude_exit: bool, exclude_first_entry_connection: bool) Callable[[Node, Node, dict[str, Any]], float][source]¶
- precompute_all_paths(nx_g: Graph) dict[tuple[bool, bool], dict[Node, dict[Node, list[Node]]]][source]¶
- shortest_path_to_node(nx_g: Graph, src: Node, tar: Node, exclude_exit: bool = False, exclude_first_entry_connection: bool = True) list[Node] | None[source]¶
- shortest_path_to_node_no_cache(nx_g: Graph, src: Node, tar: Node, exclude_exit: bool = False, exclude_first_entry_connection: bool = True) list[Node][source]¶
- find_path_node_to_edge(graph: Graph, node: Node, goal_edge: Edge, exclude_exit: bool = False, exclude_first_entry_connection: bool = True) list[Node] | None[source]¶
- find_path_edge_to_edge(graph: Graph, edge_idc: Edge, goal_edge: Edge, exclude_exit: bool = False, exclude_first_entry_connection: bool = True, find_any_path: bool = False) list[Node] | None[source]¶