pub fn build_adjacency(rete: &Rete, pred: &str) -> HashMap<u32, Vec<u32>>Expand description
Forward adjacency in unified node space for one predicate: node -> [succ].
Built once and shared (read-only) across all seeds. For reverse reachability
(“who reaches the seed?”), build the map yourself from
Rete::predicate_pairs swapping (s, o) -> (o, s).