Originally Posted By: Steev
But (only) 200 Entitys are in any case possible.

First you´ve to read the (whole) file and save the positions for a move into an array. While reading the file you must not move the entitys.
After reading all positions, you´ve to create a while-loop to move the entitys. If you want to do this for every 0.05 secs, you could use a wait(-0.5).

best regards
steev



u mean to say save the whole file in arrays ? but thats gonna be very huge. cause the time steps are in 0.05 and for every 0.05 i will have 200 entries. (if reading the whole file).

but if every 0.05 secs i read the file, then here again the time to read the file come into play.

see suppose i run this simulation for 200 agents. for 34.4 secs, i will have 688 timesteps of 0.05secs. that means 688 x 200 vector entries.

thats gonna be huge for array values.


A7 commercial Team / VC++ 2008 Pro
homepage | twitter | facebook