JTRROUTER
原文链接:http://sumo.dlr.de/wiki/JTRROUTER
这个也是生成路径文件的工具,但是这个是基于车流量和路口转弯率(貌似翻译不准确, junction turning rations)的。
1、简介
JTRROUTER是基于车流量和转弯率计算路径的。
目的:使用转弯百分比创建车辆的路径。
系统:win、linux
输入(必须的):
A)道路文件,基于netconvert或者netgenerate生成的。
B)需求定义文件;
C)节点转弯定义文件
输出:rou.xml文件
编程语言:C++
2、具体使用
JTRROUTER是针对转弯率定义的。具体转弯信息可以查看:routing based on turn-ratios。
2.1配置Configuration
(此部分不在赘述)
2.2输入Input
Option | Description |
Use FILE as SUMO-network to route on | |
Read additional network data (districts, bus stops) from FILE | |
Read alternatives from FILE | |
Read flow-definitions from FILE(s) | |
Read turning ratios 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. |
Write generated routes to FILE | |
--vtype-output <FILE> | Write used vehicle types into separate FILE |
--exit-times <BOOL> | Write exit times (weights) for each edge; default: false |
2.4处理Processing
Option | Description |
--ignore-errors <BOOL> | Continue if a route could not be build; default: false |
--unsorted-input <BOOL> | Assume input is unsorted; default:false |
Load routes for the next number of seconds ahead; default: 200 | |
--randomize-flows <BOOL> | generate random departure times for flow input; default: false |
--max-alternatives <INT> | Prune the number of alternatives to INT; default: 5 |
--remove-loops <BOOL> | Remove loops within the route; Remove turnarounds at start and end of the route; default: false |
--repair <BOOL> | Tries to correct a false route;default: false |
--repair.from <BOOL> | Tries to correct an invalid starting edge by using the first usable edge instead; default: false |
--repair.to <BOOL> | Tries to correct an invalid destination edge by using the last usable edge instead; default: false |
--weights.interpolate <BOOL> | Interpolate edge weights at interval boundaries; default: false |
--with-taz <BOOL> | Use origin and destination zones (districts) for in- and output;default: false |
--bulk-routing <BOOL> | Aggregate routing queries with the same origin; default: false |
--routing-threads <INT> | The number of parallel execution threads used for routing; default: 0 |
--max-edges-factor <FLOAT> | Routes are cut off when the route edges to net edges ratio is larger than FLOAT; default: 2 |
Use STR as default turn definition;default: 30,50,20 | |
--sink-edges <STRING> | Use STR as list of sink edges |
Whether all edges are allowed as sink edges; default: false | |
Ignore road restrictions based on vehicle class; default: false | |
--allow-loops <BOOL> | Allow to re-use a road; default:false |
2.5 Defaults
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 |
--defaults-override <BOOL> | Defaults will override given values;default: false |
2.6报告Report
(这部分不赘述)
2.7随机数Random number
(这部分不赘述)