资源简介
使用matlab编写的元胞自动机的源代码,可供学习的好资料。
代码片段和文件信息
function [CellSpace_nextstep VehicleSpace] = CountingNextStepVehicleState(CellSpace_currentCellSpace_nextstepVehicleSpaceTakenMat TakenCarIDMatVMAXsignalFlagUseLaneChangingModelFlag)
%计算下一时刻的元胞空间状态
%获取当前时刻元胞空间中的车辆信息,
[VehicleInCellSpaceMat]=GetVehicleInCellSpace(CellSpace_currentTakenMatTakenCarIDMat);
if isempty(VehicleInCellSpaceMat) == 1 %如果为空
return;
end;
%对每个车辆进行遍历,%获取每个车辆的数据,以及邻居车辆的数据
%计算每个车辆的下一时刻状态并更新到下一时刻的元胞空间中
[CellSpace_nextstep VehicleSpace] = UpdataCellSpaceWithVehicleInfo(CellSpace_currentCellSpace_nextstepVehicleSpaceVehicleInCellSpaceMatVMAXsignalFlagUseLaneChangingModelFlag);
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 307 2012-05-25 14:59 复件 CA_TrafficFlowModel\AddingNewCarsToEntry.p
文件 100 2012-05-19 18:15 复件 CA_TrafficFlowModel\basicinfo.ini
文件 538 2012-05-25 14:59 复件 CA_TrafficFlowModel\CountingLaneChangingConditions.p
文件 351 2012-05-25 14:59 复件 CA_TrafficFlowModel\CountingNextStepState4Vehicle.p
文件 729 2012-05-17 18:59 复件 CA_TrafficFlowModel\CountingNextStepVehicleState.m
文件 177 2012-05-25 14:59 复件 CA_TrafficFlowModel\DeployCellTakenState.p
文件 138 2012-05-25 14:59 复件 CA_TrafficFlowModel\DeployVehicleState.p
文件 303 2012-05-25 14:59 复件 CA_TrafficFlowModel\DrawingCellSpace.p
文件 56 2012-05-16 14:55 复件 CA_TrafficFlowModel\DriverBehaviorInfo.ini
文件 173 2012-05-25 14:59 复件 CA_TrafficFlowModel\FindUnusedVehicle.p
文件 229 2012-05-25 14:59 复件 CA_TrafficFlowModel\GenerateCellSpace.p
文件 394 2012-05-25 14:59 复件 CA_TrafficFlowModel\GenerateVehicleSpace.p
文件 241 2012-05-25 14:59 复件 CA_TrafficFlowModel\GetAheadVehicleID.p
文件 211 2012-05-25 14:59 复件 CA_TrafficFlowModel\GetBasicInfo.p
文件 139 2012-05-25 14:59 复件 CA_TrafficFlowModel\GetCellTakenCarHeadState.p
文件 123 2012-05-25 14:59 复件 CA_TrafficFlowModel\GetCellTakenCarID.p
文件 123 2012-05-25 14:59 复件 CA_TrafficFlowModel\GetCellTakenState.p
文件 238 2012-05-25 14:59 复件 CA_TrafficFlowModel\GetDistanceToAheadVehicle.p
文件 125 2012-05-25 14:59 复件 CA_TrafficFlowModel\GetDriverBehavior.p
文件 141 2012-05-25 14:59 复件 CA_TrafficFlowModel\GetVehicalInfo.p
文件 280 2012-05-25 14:59 复件 CA_TrafficFlowModel\GetVehicleInCellSpace.p
文件 221 2012-05-25 14:59 复件 CA_TrafficFlowModel\GetVehicleLength.p
文件 141 2012-05-15 16:59 复件 CA_TrafficFlowModel\IfAddNewCar.m
文件 62 2012-05-15 16:42 复件 CA_TrafficFlowModel\InitVehicleInfo.ini
文件 313 2012-05-15 16:06 复件 CA_TrafficFlowModel\IsCellTaken.m
文件 148 2012-05-25 14:59 复件 CA_TrafficFlowModel\isSatisfy.p
文件 499 2012-05-25 14:59 复件 CA_TrafficFlowModel\JudgeLaneChangingConditions.p
文件 371 2012-05-25 14:59 复件 CA_TrafficFlowModel\JudgeNeighborOnLeftOrRightLane.p
文件 35 2012-05-17 19:01 复件 CA_TrafficFlowModel\LaneChangingModeInfo.ini
文件 1710 2012-05-25 10:40 复件 CA_TrafficFlowModel\main_tca.m
............此处省略19个文件信息
- 上一篇:中国石油大学数值分析编程作业
- 下一篇:物流配送蚁群算法
相关资源
- naive_bayes_numeric 利用matlab实现的朴素贝
- spectralMattingCode 用于数字抠图的源代码
-
Theimagetextureanalyssba
sedonthefractaldime - imagesegmentation 压缩文件里有四种图像
- ABC 是属于人工蜜蜂群优化算法的源代
- PDE_in_image_processing (1)MATLAB程序:其
- ensemblelearning 该源代码主要是利用ba
- aaa 关于遥感图像分类方面的程序源代
- tezheng 本人找到的非常好的几何特征提
- LBF “Implicit Active Contours Driven by Loca
- LCV “An efficientlocalChan–Vesemodelforima
- wavelet-matlab 基于小波变换的图像融合
- face-recognition 用SVM做的人脸识别Matla
- Msrcr 基于Retinex的MSRCR图像增强算法的
- AGVMonitor AGV小车的上位机源代码
- Extraction
- MATLAB 数字图像处理图像复原算法源代
- Shearletimagefusion shearlet图像融合的源代
- Contourlet contourlet图像融合的matlab源代
- matlab 数字语音处理及MATLAB仿真张雪英
- snippets CVPR2008行为识别文章“Action S
- watermark 基于DCT域音频水印完整源代码
- demo_ASIFT_Win ASIFT图像特征提取源代码
- TOA 对Toa定位算法进行性能分析的算法
- subway-station-evacuated 主要内容基于元胞
- synsq_toolbox_v1.1 同步挤压小波变换的源
- MOEAD 多目标优化算法moea/d算法代码的
- The-Micro-Doppler-Effect-code 雷达信号中的
- GPS-inertial-navigation- GPS惯性导航组合(
- cnn 用于图像分类的源代码
评论
共有 条评论