Closed mapa17 closed 12 years ago
NAN values are appended to the end of the generated data and even if they are not printed they still scale the x axis.
The error is inside the simulation, as peers even they have downloaded all peers, dont detect that they finished the download!
Because of that they stay in the simulation and the strange statistics bug is produced!
The source of the problem does not seems to be peers not finishing their downloads. This seems to work.
The NaN values in the pData table ( in the Statistics.R script ) come to be, because there is no incomplete peer after some time. If than the mean value and similar is calculated, it will result in an NaN.
Strange, because this must have always been like that. Why is the xaxis now scaled by that? The bug will be fixed by calculating the limits on my own and than specify them as x-axis limits.
For some strange reasons the generated statistics are generated over the whole simulation scenario now, even though there is no data available to visualize.