public void Process(double t) { var n1 = Stream1.Process(t); var n2 = Stream2.Process(t); if (!frequency.ContainsKey(n1 + n2)) { frequency[n1 + n2] = 0; } frequency[n1 + n2]++; }
public void Process(double time) { var n1 = Stream1.Process(time); var n2 = Stream2.Process(time); if (!Frequency.ContainsKey(n1 + n2)) { Frequency[n1 + n2] = 0; } Frequency[n1 + n2]++; }