Skip to main content

plan_map

Function plan_map 

Source
pub fn plan_map(
    a: &[OriginProfile],
    b: &[OriginProfile],
    explicit: &[(HostId, HostId)],
) -> Result<MapPlan, MapError>
Expand description

Plan the alignment: explicit pairs, then verified unique labels, then unique producer sets; the rest listed with reasons. Deterministic — explicit pairs in the order given, everything else in origin order.