• 大小: 55KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-09
  • 语言: 其他
  • 标签: MATLAB  CA  

资源简介

包括换道系统,跟驰系统等功能。功能比较齐全,但是大部分程序都是加密的,只能拿来用,不能作为学习资源参考

资源截图

代码片段和文件信息

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

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-04-24 14:14  CA_TrafficFlowModel\
     文件         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
............此处省略15个文件信息

评论

共有 条评论