pub fn aggregate_incremental_nested<F, O>(&self, f: F) -> Stream<Circuit<P>, O>
    where
        Z: IndexedZSet<R = O::R> + DeepSizeOf + NumEntries,
        Z::Key: PartialEq + Ord,
        Z::Val: Ord,
        F: Fn(&Z::Key, &mut Vec<(&Z::Val, Z::R)>) -> O::Key + Clone + 'static,
        O: Clone + ZSet + DeepSizeOf + 'static,
        O::R: ZRingValue,
    {
        self.integrate_nested()
            .aggregate_incremental(f)
            .differentiate_nested()
    }
/// Incremental nested version of the [`Aggregate`] operator.
///
/// This is equivalent to
/// `self.integrate().integrate_nested().aggregate(f).differentiate_nested.
/// differentiate()`, but is more efficient.
Incremental nested version of the [`Aggregate`] operator.
Incremental nested version of the [ ` Aggregate ` ] operator .
pub fn aggregate_incremental_nested<F, O>(&self, f: F) -> Stream<Circuit<P>, O>
    where
        Z: IndexedZSet<R = O::R> + DeepSizeOf + NumEntries,
        Z::Key: PartialEq + Ord,
        Z::Val: Ord,
        F: Fn(&Z::Key, &mut Vec<(&Z::Val, Z::R)>) -> O::Key + Clone + 'static,
        O: Clone + ZSet + DeepSizeOf + 'static,
        O::R: ZRingValue,
    {
        self.integrate_nested()
            .aggregate_incremental(f)
            .differentiate_nested()
    }
pub fn aggregate_incremental_nested < F , O > ( & self , f : F ) -> Stream < Circuit < P > , O > where Z : IndexedZSet < R = O :: R > + DeepSizeOf + NumEntries , Z :: Key : PartialEq + Ord , Z :: Val : Ord , F : Fn ( & Z :: Key , & mut Vec < ( & Z :: Val , Z :: R ) > ) -> O :: Key + Clone + ' static , O : Clone + ZSet + DeepSizeOf + ' static , O :: R : ZRingValue , { self . integrate_nested ( ) . aggregate_incremental ( f ) . differentiate_nested ( ) }
Incremental nested version of the [`Aggregate`] operator.
Incremental nested version of the [ ` Aggregate ` ] operator .
&self
f
F