A device according to an aspect of the present disclosure is a traffic flow simulator configured to simulate a traffic flow of a plurality of simulation vehicles generated in a road network. The traffic flow simulator includes: a route selection unit configured to select a route for each of a plurality of the simulation vehicles in accordance with a predetermined route selection model; and an index calculation unit configured to calculate a traffic evaluation index of the road network by causing each of a plurality of the simulation vehicles to move on the road network in accordance with the route. The route selection unit records, into a storage unit, a first route selected during execution of a first mode below and a second route selected during execution of a second mode below, the first mode being a work mode in which the traffic flow is simulated under a first setting condition, the second mode being a work mode in which the traffic flow is simulated under a second setting condition.
展开▼