map_weighted_with_method

Function map_weighted_with_method 

Source
pub fn map_weighted_with_method(
    num_vertices: usize,
    edges: &[(usize, usize)],
    method: PathDecompositionMethod,
) -> MappingResult
Expand description

Map a graph to weighted triangular lattice using a specific path decomposition method.

§Arguments

  • num_vertices - Number of vertices in the original graph
  • edges - Edge list as (u, v) pairs
  • method - Path decomposition method to use

§Returns

A MappingResult containing the grid graph and mapping metadata.