MAROUTER
原文链接:http://sumo.dlr.de/wiki/MAROUTER
同样是生成路径,这个工具是基于OD矩阵的。
1、简介
目的:宏观路径分配(Macroscopic route assignment)
系统:win、liunx
输入(强制):
A)路网文件,net.xml;
B)OD矩阵数据;
输出:rou.xml文件
编程语言:C++
2、具体命令参数
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 | |
Loads O/D-files from FILE(s) | |
--od-amitran-files <FILE> | Loads O/D-matrix in Amitran format from FILE(s) |
Read sumo-routes or trips from FILE(s) | |
Read network weights from FILE(s) | |
--lane-weight-files <FILE> | Read lane-based network weights from FILE(s) |
Name of the xml attribute which gives the edge weight; default: traveltime | |
--weight-adaption <FLOAT> | The travel time influence of prior intervals; default: 0 |
--taz-param <STRING> | Parameter key(s) defining source (and sink) taz |
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 flow definitions with route distributions to FILE | |
--vtype-output <FILE> | Write used vehicle types into separate FILE |
--ignore-vehicle-type <BOOL> | Does not save vtype information;default: false |
--netload-output <FILE> | Writes edge loads and final costs into FILE |
--all-pairs-output <FILE> | Writes complete distance matrix into FILE |
--exit-times <BOOL> | Write exit times (weights) for each edge; default: false |
2.4处理Processing
Option | Description |
--aggregation-interval <TIME> | Defines the time interval when aggregating single vehicle input; Defaults to one hour; default: 3600【这个不太懂】 |
--ignore-errors <BOOL> | Continue if a route could not be build; default: false |
--max-alternatives <INT> | Prune the number of alternatives to INT; default: 5 |
--weights.interpolate <BOOL> | Interpolate edge weights at interval boundaries; default: false |
--weights.expand <BOOL> | Expand weights behind the simulation's end; default: false |
--routing-algorithm <STRING> | Select among routing algorithms ['dijkstra', 'astar', 'CH', 'CHWrapper']; default: dijkstra【默认为迪杰斯特拉算法】 |
--bulk-routing.vtypes <BOOL> | Aggregate routing queries with the same origin for different vehicle types; default: false |
--routing-threads <INT> | The number of parallel execution threads used for routing; default: 0【并行的线程数】 |
--weight-period <TIME> | Aggregation period for the given weight files; triggers rebuilding of Contraction Hierarchy; default: 3600 |
Scales the loaded flows by FLOAT;default: 1 | |
--vtype <STRING> | Defines the name of the vehicle type to use |
--prefix <STRING> | Defines the prefix for vehicle flow names |
--timeline <STRING> | Uses STR as a timeline definition |
--timeline.day-in-hours <BOOL> | Uses STR as a 24h-timeline definition;default: false |
--additive-traffic <BOOL> | Keep traffic flows of all time slots in the net; default: false |
--assignment-method <STRING> | Choose a assignment method: incremental, UE or SUE; default:incremental【选择增量方法】 |
--tolerance <FLOAT> | Use FLOAT as tolerance when checking for SUE stability; default: 0.001 |
--left-turn-penalty <FLOAT> | Use left-turn penalty FLOAT to calculate link travel time when searching routes; default: 0 |
--paths <INT> | Use INTEGER as the number of paths needed to be searched for each OD pair at each iteration; default: 1 |
--paths.penalty <FLOAT> | Penalize existing routes with FLOAT to find secondary routes; default: 1 |
--upperbound <FLOAT> | Use FLOAT as the upper bound to determine auxiliary link cost;default: 0.5 |
--lowerbound <FLOAT> | Use FLOAT as the lower bound to determine auxiliary link cost;default: 0.15 |
maximal number of iterations for new route searching in incremental and stochastic user assignment; default:20【迭代的最大数】 | |
--max-inner-iterations <INT> | maximal number of inner iterations for user equilibrium calcuation in the stochastic user assignment; default:1000 |
--route-choice-method <STRING> | Choose a route choice method: gawron, logit, or lohse; default: logit【路由选择模型,默认为logit模型】 |
--gawron.beta <FLOAT> | Use FLOAT as Gawron's beta; default:0.3 |
--gawron.a <FLOAT> | Use FLOAT as Gawron's a; default:0.05 |
--keep-all-routes <BOOL> | Save routes with near zero probability; default: false |
--skip-new-routes <BOOL> | Only reuse routes from input, do not calculate new ones; default: false |
--logit.beta <FLOAT> | Use FLOAT as (c-)logit's beta for the commonality factor; default: 0.15【logit模型中的参数】 |
--logit.gamma <FLOAT> | Use FLOAT as (c-)logit's gamma for the commonality factor; default: 1【logit模型中的参数】 |
--logit.theta <FLOAT> | Use FLOAT as (c-)logit's theta;default: 0.01【logit模型中的参数】 |
2.5默认Default
Option | Description |
--flow-output.departlane <STRING> | Assigns a default depart lane;default: free |
--flow-output.departpos <STRING> | Assigns a default depart position |
--flow-output.departspeed <STRING> | Assigns a default depart speed;default: max |
--flow-output.arrivallane <STRING> | Assigns a default arrival lane |
--flow-output.arrivalpos <STRING> | Assigns a default arrival position |
--flow-output.arrivalspeed <STRING> | Assigns a default arrival speed |
2.6时间Time
Option | Description |
Defines the begin time; Previous trips will be discarded; default: 0 | |
Defines the end time; Later trips will be discarded; Defaults to the maximum time that SUMO can represent; default:9223372036854774 |
2.7报告Report
(这里不再赘述)
2.8随机数Random number
(这里不再赘述)