Newer
Older
using Pkg
Pkg.activate(".")
import RidePooling
RP = RidePooling
include("./sim_functions.jl")
request_type=:earliest_pickup # request_type that should be simulated
#name="test_1" # Name of the simulation
path="/scratch01.local/rhaag/$(String(request_type))/$name/" # Path were everything will be saved
N = 20 #Number of Busses
requested = 10000 * N # Number of requests, that need to be made
served = 10000 * N # Number of requests, that need to be served
#Random Generator
rng_type = :notRandom
# For mapping the 1D Index to 2D
xBounds = (20, 80) # Frequency ν = x/t0
yBounds = (0.1, 1.5)
# File Organization
paths = Dict(:data => "/results/data/",
:model => "/results/model/",
:map => "/example_map/map/"
#:dispatcher => "/example_map/delays_wt1reldelta1/"
# TODO Is this better in a seperate file? I think not, because I always will use the Same Dispatcher
)
dispatcher=(;
cost=:trajectory_length,
rejection_criterion=(((:total_travelling_time, 2, 0.5),))
)