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