function [ ] = main_tca( ~ )
%---------------------------------------------------------------------------------------------------------------------------------------------------------------
%交通流元胞自动机 Copyright @Z.Zhang
%开始于2012-5-14,周一上午10:00
%版本V1.0;完成与2012-5-17,周四下午,17:00
%%
%
%
%
%
%% %
%-------------------------------------------------------------------------%
%基础变量声明~
%-------------------------------------------------------------------------%
%%
%% -------------------------------------------------------------------------%
%基本仿真信息(或以配置文件方式直接获得)
%-------------------------------------------------------------------------%
[Volume SimTime TimeStep LaneNum CellNum VMAX] = GetBasicInfo();
%% -------------------------------------------------------------------------%
%生成元胞空间
%-------------------------------------------------------------------------%
[CellSpace_current CellSpace_nextstep] = GenerateCellSpace(LaneNum,CellNum);
%% -------------------------------------------------------------------------%
%生成车辆空间
%-------------------------------------------------------------------------%
[VehicleSpace] = GenerateVehicleSpace(Volume);
%% -------------------------------------------------------------------------%
%开始仿真
%-------------------------------------------------------------------------%
TrafficSimulating(SimTime,TimeStep, CellSpace_current, CellSpace_nextstep, VehicleSpace,VMAX);
%% -------------------------------------------------------------------------%
%展示结果
ResultsPlotting();
%-------------------------------------------------------------------------%
end
没有合适的资源?快使用搜索试试~ 我知道了~
元胞自动机实现交通流模拟
共45个文件
p:25个
m:9个
ini:7个
需积分: 50 52 下载量 44 浏览量
2017-04-24
14:18:05
上传
评论 11
收藏 55KB ZIP 举报
温馨提示
包括换道系统,跟驰系统等功能。功能比较齐全,但是大部分程序都是加密的,只能拿来用,不能作为学习资源参考
资源推荐
资源详情
资源评论
收起资源包目录
CA_TrafficFlowModel.zip (45个子文件)
CA_TrafficFlowModel
GetVehicalInfo.p 141B
函数树状图.vsd 51KB
ReleaseVehicleState.m 227B
DeployCellTakenState.p 177B
SignalCycleInfo.ini 53B
ReleaseCellTakenState.m 409B
UpdataCellSpaceWithVehicleInfo.p 469B
DrawingCellSpace.p 303B
函数功能结构表.xlsx 12KB
AddingNewCarsToEntry.p 307B
CountingNextStepVehicleState.m 729B
GetDriverBehavior.p 125B
GetVehicleLength.p 221B
FindUnusedVehicle.p 173B
DeployVehicleState.p 138B
JudgeNeighborOnLeftOrRightLane.p 371B
OutputDataSettings.ini 84B
CountingLaneChangingConditions.p 538B
GetVehicleInCellSpace.p 280B
TrafficSimulating.m 2KB
GetBasicInfo.p 211B
SavingDataAsFiles.p 606B
LaneChangingModeInfo.ini 35B
isSatisfy.p 148B
main_tca.m 2KB
InitVehicleInfo.ini 62B
IsCellTaken.m 313B
GetCellTakenCarHeadState.p 139B
IfAddNewCar.m 141B
GetCellTakenCarID.p 123B
GetDistanceToAheadVehicle.p 238B
GenerateCellSpace.p 229B
NewVehicleEntryRatio.ini 48B
Thumbs.db 6KB
GetAheadVehicleID.p 241B
basicinfo.ini 100B
DriverBehaviorInfo.ini 56B
ResultsPlotting.m 1KB
CountingNextStepState4Vehicle.p 351B
RefreshCellSpaceWithNewPosition.m 675B
SearchCellSpaceForTaken.p 234B
GetCellTakenState.p 123B
ProtectYourWork.bat 752B
GenerateVehicleSpace.p 394B
JudgeLaneChangingConditions.p 499B
共 45 条
- 1
资源评论
Esccurt
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功