Expand description
KSG (King’s SubGraph) mapping functions for graphs to grid graphs.
This module provides functions to map arbitrary graphs to King’s SubGraph (8-connected grid graphs). It supports both unweighted and weighted mapping modes.
Structs§
- Mapping
Result - Result of mapping a graph to a grid graph.
Enums§
- Grid
Kind - The kind of grid lattice used in a mapping result.
Functions§
- map_
unweighted - Map a graph to a KSG grid graph using automatic path decomposition.
- map_
unweighted_ with_ method - Map a graph using a specific path decomposition method (unweighted).
- map_
unweighted_ with_ order - Map a graph with a specific vertex ordering (unweighted).
- map_
weighted - Map a graph to a KSG grid graph using optimal path decomposition (weighted mode).
- map_
weighted_ with_ method - Map a graph using a specific path decomposition method (weighted).
- map_
weighted_ with_ order - Map a graph with a specific vertex ordering (weighted).