Skip to main content

replicate_graph

Function replicate_graph 

Source
pub fn replicate_graph(
    graph: &CellGraph,
    copies: usize,
) -> Result<CellGraph, Error>
Expand description

Place copies disjoint copies of graph side by side along x.

Cell count and arc count both equal the base counts times copies. Each copy keeps the base neighbourhood, so the work per copy stays the base cell count and the base arc count.