Convert the simulation step to the actual simulation date
Convert the simulation step to the actual simulation date
the simulation step
the actual simulated date
Compute the error between simulated and empirical data if any
Compute the error between simulated and empirical data if any
the simulation step
the states of the simulated cities
the distance to data (0 if empirical data aren't filled)
Sum of square differences between logs of data
Sum of square differences between logs of data
data set 1
data set 2
the difference
Sum over an iterator of vector
Sum over an iterator of vector
the iterator
the sum of the contained vectors