pub fn compute_density(
frag: &Fragment,
rel_score: f64,
needs: &[InformationNeed],
state: &UtilityState,
) -> f64pub fn compute_density(
frag: &Fragment,
rel_score: f64,
needs: &[InformationNeed],
state: &UtilityState,
) -> f64