Skip to main content

for_each_point

Function for_each_point 

Source
fn for_each_point(m: &Metric, f: impl FnMut(usize, usize))
Expand description

Visit (attribute_count, exemplar_attribute_count) for every point of m, whichever of the five shapes it has. Exists so has_headroom_for does not repeat the five-arm match that append_metric already has.