From beeef33e49b3cbbc04da6806aa29fd20a3abe3bf Mon Sep 17 00:00:00 2001 From: "ruben.haag" <ruben.haag@stud.uni-goettingen.de> Date: Tue, 30 Nov 2021 00:51:46 +0100 Subject: [PATCH] Frequency and dt_latest_dropoff were switched in the getValue function --- sim.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sim.jl b/sim.jl index c8731c2..9f1d47f 100644 --- a/sim.jl +++ b/sim.jl @@ -73,15 +73,15 @@ if !isdir(paths[:model]) end map_folder = paths[:map] -requested = 100 * N -served = 100 * N +requested = 2 * N +served = 2 * N include(paths[:map]*"map.jl") # include(paths[:dispatcher]*"dispatcher.jl") -x, y = getValue(index-1, 0, 100, 20, 3, 10, 10) +x, y = getValue(index-1, 3, 10, 20, 0, 2*t0, 20) println("$x\t$y") random_gens = Dict(:pickup => [:notRandom, y/t0]) -- GitLab