Expand description
Mapping functions for weighted triangular lattice.
This module provides functions to map arbitrary graphs to weighted triangular lattice grid graphs using the copy-line technique.
Constants§
- PADDING
- Padding around the grid for triangular lattice.
- SPACING
- Spacing between copy lines on triangular lattice.
Functions§
- map_
weighted - Map a graph to a weighted triangular lattice grid graph using optimal path decomposition.
- map_
weighted_ with_ method - Map a graph to weighted triangular lattice using a specific path decomposition method.
- map_
weighted_ with_ order - Map a graph to weighted triangular lattice with specific vertex ordering.
- map_
weights - Map source vertex weights to grid graph weights.
- trace_
centers - Trace center locations through gadget transformations.
- weighted_
ruleset - Get the weighted triangular crossing ruleset.