- 博客(0)
- 资源 (1)
空空如也
matlab交通元胞自动机
function [ CellSpace_nextstep VehicleSpace ] = TrafficSimulating( SimTime,TimeStep,CellSpace_current, CellSpace_nextstep, VehicleSpace,VMAX )
%TRAFFICSIMULATING Summary of this function goes here
% 仿真程序主体
CellSpace_Init = CellSpace_nextstep;
% 读取信号配时数据
SignalCycleMat = load('SignalCycleInfo.ini');
sCycle = SignalCycleMat(1);%周期长度
sGreenTime = SignalCycleMat(2);%绿灯时长
sRedTime = SignalCycleMat(3);%红灯时长
%% 是否加载换道模型
LaneChangingModelINIMat = load('LaneChangingModeInfo.ini');
UseLaneChangingModelFlag = LaneChangingModelINIMat(1);
end
2014-04-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人