Skip to main content

weakly_dominates

Function weakly_dominates 

Source
pub fn weakly_dominates<C: Cost, const N: usize>(a: &[C; N], b: &[C; N]) -> bool
Expand description

Returns true if a is no worse than b in every objective.

Unlike Dominates::dominates, equal vectors weakly dominate each other. Pruning uses this form: a label equal to a known one adds no new cost vector to the result.