Skip to content

bloqade.lanes.arch.build.topology.MatchingTopology

← Module overview

classMatchingTopologysource

bloqade.lanes.arch.build.topology.MatchingTopology

1:1 matching of words by grid position across two zones.

class MatchingTopology

Produces a single bus pairing grid_a(r, c) with grid_b(r, c) for all (r, c). Requires both grids to have the same dimensions.

methodgenerate_word_busessource

bloqade.lanes.arch.build.topology.MatchingTopology.generate_word_buses

Signature
def generate_word_buses(grid_a: WordGrid, grid_b: WordGrid) -> tuple[WordBus, ...]

Parameters

NameTypeDescription
grid_aWordGrid
grid_bWordGrid

Returns

tuple[WordBus, ...]

source