Social-force-model
所属分类:图形图像处理
开发工具:matlab
文件大小:26330KB
下载次数:200
上传日期:2017-04-10 22:36:35
上 传 者:
`RUA
说明: 社会力模型,基于社会力的行人流模型,包括行人间作用力,行人与墙体等障碍物的作用力等。
(Social force model)
文件列表:
社会力模型\code\addAgentRepulsiveForce.m (4419, 2012-05-31)
社会力模型\code\addDesiredForce.m (781, 2012-05-31)
社会力模型\code\addWallForce.m (1169, 2012-05-31)
社会力模型\code\applyForcesAndMove.m (3237, 2012-05-31)
社会力模型\code\checkForIntersection.m (1059, 2012-05-31)
社会力模型\code\compileC.m (107, 2012-05-31)
社会力模型\code\createRangeTree.c (806, 2012-05-31)
社会力模型\code\createRangeTree.mexw64 (9728, 2016-12-18)
社会力模型\code\eps2avi.sh (765, 2012-05-31)
社会力模型\code\fastSweeping.c (7623, 2012-05-31)
社会力模型\code\fastSweeping.mexw64 (17408, 2016-12-18)
社会力模型\code\frames\config1_frame_0000.eps (111500, 2016-12-18)
社会力模型\code\frames\config1_frame_0001.eps (111396, 2016-12-18)
社会力模型\code\frames\config1_frame_0002.eps (111452, 2016-12-18)
社会力模型\code\frames\config1_frame_0003.eps (111435, 2016-12-18)
社会力模型\code\frames\config1_frame_0004.eps (111459, 2016-12-18)
社会力模型\code\frames\config1_frame_0005.eps (111408, 2016-12-18)
社会力模型\code\frames\config1_frame_0006.eps (111448, 2016-12-18)
社会力模型\code\frames\config1_frame_0007.eps (111481, 2016-12-18)
社会力模型\code\frames\config1_frame_0008.eps (111491, 2016-12-18)
社会力模型\code\frames\config1_frame_0009.eps (111409, 2016-12-18)
社会力模型\code\frames\config1_frame_0010.eps (111471, 2016-12-18)
社会力模型\code\frames\config1_frame_0011.eps (111458, 2016-12-18)
社会力模型\code\frames\config1_frame_0012.eps (111442, 2016-12-18)
社会力模型\code\frames\config1_frame_0013.eps (111469, 2016-12-18)
社会力模型\code\frames\config1_frame_0014.eps (111491, 2016-12-18)
社会力模型\code\frames\config1_frame_0015.eps (111461, 2016-12-18)
社会力模型\code\frames\config1_frame_0016.eps (111490, 2016-12-18)
社会力模型\code\frames\config1_frame_0017.eps (111486, 2016-12-18)
社会力模型\code\frames\config1_frame_0018.eps (111552, 2016-12-17)
社会力模型\code\frames\config1_frame_0019.eps (111577, 2016-12-17)
社会力模型\code\frames\config1_frame_0020.eps (111516, 2016-12-17)
社会力模型\code\frames\config1_frame_0021.eps (111535, 2016-12-17)
社会力模型\code\frames\config1_frame_0022.eps (111533, 2016-12-17)
社会力模型\code\frames\config1_frame_0023.eps (111535, 2016-12-17)
社会力模型\code\frames\config1_frame_0024.eps (111560, 2016-12-17)
社会力模型\code\frames\config1_frame_0025.eps (111589, 2016-12-17)
社会力模型\code\frames\config1_frame_0026.eps (111548, 2016-12-17)
... ...
# Code Folder
this folder contains the matlab & c code
to run the simulation, first compile the c code using the matlab function
'compileC.m' (install a c compiler first, eg gcc on UNIX).
run the simulation with: simulate() with the optional config file as argument
(eg '../data/config1.conf').
video generation (on unix):
set the save\_frames in the config to 1, then after simulation, use the script
eps2avi.sh in this folder to generate a video in the folder ../videos (run
./eps2avi.sh to see how to use it).
## some conventions
- image coordinates:
img(y,x), where y is vertcal index, x is horizontal index
img(1,1) is the upper leftmost point
- data format:
all internal data is stored in pixels not in meters
近期下载者:
相关文件:
收藏者: