DFROUTER
原文链接:http://sumo.dlr.de/wiki/DFROUTER
这个也是生成路径的工具,基于感应回路线圈(induction loop values)数据。
1、简介
DFROUTER使用感应线圈数值计算车辆路径,用于sumo的仿真。
目的:穿件基于回路线圈数值的车辆路径
系统:win7、linux
输入(强制):
A)路网文件,net.xml
B)循环线圈定义
C)循环线圈测量数据
输出:rou.xml文件
编程语言:C++
2、具体命令
2.1配置
(这里不再赘述)
2.2输入Input
Option | Description |
Loads the SUMO-network FILE | |
Loads detector descriptions from FILE | |
Loads detector flows from FILE(s) |
2.3输出文件Output
Option | Description |
--output-prefix <STRING> | Prefix which is applied to all output files. The special string 'TIME' is replaced by the current time. |
Saves computed routes to FILE | |
--routes-for-all <BOOL> | Forces DFROUTER to compute routes for in-between detectors; default: false |
--detector-output <FILE> | Saves typed detectors to FILE |
--detectors-poi-output <FILE> | Saves detector positions as pois to FILE |
--emitters-output <FILE> | Saves emitter definitions for source detectors to FILE |
--vtype <BOOL> | Add vehicle types to the emitters file (PKW, LKW); default: false |
--vtype-output <FILE> | Write generated vehicle types into separate FILE instead of including them into the emitters-output |
--emitters-poi-output <FILE> | Saves emitter positions as pois to FILE |
--variable-speed-sign-output <FILE> | Saves variable seed sign definitions for sink detectors to FILE |
--end-reroute-output <FILE> | Saves rerouter definitions for sink detectors to FILE |
--validation-output <FILE> | |
--validation-output.add-sources <BOOL> | ; default: false |
2.4处理Processing
Option | Description |
--guess-empty-flows <BOOL> | Derive missing flow values from upstream or downstream (not working!);default: false |
Switches to highway-mode; default:false | |
--ignore-invalid-detectors <BOOL> | Only warn about unparseable detectors;default: false |
--revalidate-detectors <BOOL> | Recomputes detector types even if given; default: false |
--revalidate-routes <BOOL> | Recomputes routes even if given;default: false |
--keep-unfinished-routes <BOOL> | Keeps routes even if they have exhausted max-search-depth; default:false |
--keep-longer-routes <BOOL> | Keeps routes even if a shorter one exists; default: false |
--max-search-depth <INT> | Number of edges to follow a route without passing a detector; default:30 |
--emissions-only <BOOL> | Writes only emission times; default:false |
--disallowed-edges <STRING> | Do not route on these edges |
--keep-turnarounds <BOOL> | Allow turnarounds as route continuations; default: false |
--min-route-length <FLOAT> | Minimum distance in meters between start and end node of every route;default: -1 |
--time-factor <TIME> | Multiply flow times with TIME to get seconds; default: 60 |
--time-offset <TIME> | Subtracts TIME seconds from (scaled) flow times; default: 0 |
--time-step <TIME> | Expected distance between two successive data sets; default: 60 |
--calibrator-output <BOOL> | Write calibrators to FILE; default:false |
--include-unused-routes <BOOL> | ; default: false |
--revalidate-flows <BOOL> | ; default: false |
--remove-empty-detectors <BOOL> | Removes empty detectors from the list;default: false |
--strict-sources <BOOL> | ; default: false |
--respect-concurrent-inflows <BOOL> | Try to determine further inflows to an inbetween detector when computing split probabilities; default: false |
--scale <FLOAT> | Scale factor for flows; default: 1 |
2.5默认Default
Option | Description |
--departlane <STRING> | Assigns a default depart lane |
--departpos <STRING> | Assigns a default depart position |
--departspeed <STRING> | Assigns a default depart speed |
--arrivallane <STRING> | Assigns a default arrival lane |
--arrivalpos <STRING> | Assigns a default arrival position |
--arrivalspeed <STRING> | Assigns a default arrival speed |
--speeddev <FLOAT> | The default speed deviation of vehicles; default: 0.1 |
2.6时间Time
Option | Description |
Defines the begin time; Previous defs will be discarded; default: 0 | |
Defines the end time; Later defs will be discarded; Defaults to one day;default: 86400【也就是一天24小时】 |
2.7报告Report
(这里不赘述)
2.8随机数Random number
(这里不赘述)