Skip to main content

canonical_binary_pattern

Function canonical_binary_pattern 

Source
pub fn canonical_binary_pattern(
    topology: Topology,
    left_slot: u32,
    right_slot: u32,
) -> NaryRulePattern
Expand description

The four shipped binary topologies expressed as n-ary patterns.

This is the parity surface: scoring these four patterns for a pair of candidate slots must reproduce the binary engine’s (topology, L, R) results exactly.