[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Why does it happend in RED?



Hi,

I use RED for some simulation. Because I want to get some value in C++,
so I add
printf("%d\n",pq_->length()); at the beginning of the enque method, but
the result is strange
to some extent, the value jump to 0 in some cases,why ? following is
part of ouput during simulations.
Any comments are helpfule!

0
317
317
0
316
316
0
315
315
0
314
314
0
313
313
0
312
312
0
311
311
0
310
310
0
309
309
0
308
308
0
307
307
0
306
306
0
305
305
0
304
304
0
303
303
0
302
302