Closed ohnu93 closed 8 years ago
You have defined fewer hosts in your settings than your trace contains, and therefore the trace cannot be mapped onto your simulation. So simply make sure your settings has a group configured with as many nodes as your trace.
Each host (node) in the simulation is assigned an address starting from 0 and increasing monotonically, this is what the "address" in the code refers to. So there is no bug in that code.
Ahhh got it so address does not denote the coordinate values.
Thank you!
Hi I'm using the latest version of the simulator and while I was trying to import NCCU trace data to the simulator, I kept getting the following error:
And I took a look at the
World
class and found this at line 255:Here, I got confused, because from what I understand, the hosts would be the "nodes" (the NCCU students) and comparing if the address, which I presume to be the coordinate values as integer, is greater than the total number of hosts does not make sense at all to me. Is this how this is supposed to be?
Thanks.