private IEnumerable <SparseTwinIndex <float> > EnumerateDistributions() { CurrentCategory = 0; foreach (var demographic in AssignmentDistribution.Assign()) { // let it setup the modes so we can compute friction yield return(demographic); CurrentCategory++; } }