public void IterationStart(int currentIteration, int totalIterations) { GenerationProbability = AgeEmpStatOccProbability.AcquireResource <SparseArray <SparseTriIndex <float> > >(); DurationProbability = EmpStatOccDurationProbability.AcquireResource <SparseArray <SparseTriIndex <float> > >(); Ages = AgeResource.AcquireResource <IndexedRangeSet>(); }
public void IterationComplete(int currentIteration, int totalIterations) { GenerationProbability = null; Ages = null; }