-
大小: 25.71M文件類型: .rar金幣: 2下載: 5 次發布日期: 2021-02-02
- 語言: Matlab
- 標簽: Amazon??墻體??人流??Social-force??station7bi??
資源簡介
社會力模型,基于社會力的行人流模型,包括行人間作用力,行人與墻體等障礙物的作用力等。
代碼片段和文件信息
function?data?=?addAgentRepulsiveForce(data)
%ADDAGENTREPULSIVEFORCE?Summary?of?this?function?goes?here
%???Detailed?explanation?goes?here
%?Obstruction?effects?in?case?of?physical?interaction
%?get?maximum?agent?distance?for?which?we?calculate?force
r_max?=?data.r_influence;
tree?=?0;
for?fi?=?1:data.floor_count
????pos?=?[arrayfun(@(a)?a.p(1)?data.floor(fi).agents);
???????????arrayfun(@(a)?a.p(2)?data.floor(fi).agents)];
????
????%?update?range?tree?of?lower?floor
????tree_lower?=?tree;
????
????agents_on_floor?=?length(data.floor(fi).agents);
????
????%?init?range?tree?of?current?floor
????if?agents_on_floor?>?0
????????tree?=?createRangeTree(pos);
????end
????
????for?ai?=?1:agents_on_floor
????????pi?=?data.floor(fi).agents(ai).p;
????????vi?=?data.floor(fi).agents(ai).v;
??????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????14??2012-05-31?05:50??社會力模型\code\.gitignore
?????文件???????4419??2012-05-31?05:50??社會力模型\code\addAgentRepulsiveForce.m
?????文件????????781??2012-05-31?05:50??社會力模型\code\addDesiredForce.m
?????文件???????1169??2012-05-31?05:50??社會力模型\code\addWallForce.m
?????文件???????3237??2012-05-31?05:50??社會力模型\code\applyForcesAndMove.m
?????文件???????1059??2012-05-31?05:50??社會力模型\code\checkForIntersection.m
?????文件????????107??2012-05-31?05:50??社會力模型\code\compileC.m
?????文件????????806??2012-05-31?05:50??社會力模型\code\createRangeTree.c
?????文件???????9728??2016-12-18?13:22??社會力模型\code\createRangeTree.mexw64
?????文件????????765??2012-05-31?05:50??社會力模型\code\eps2avi.sh
?????文件???????7623??2012-05-31?05:50??社會力模型\code\fastSweeping.c
?????文件??????17408??2016-12-18?13:22??社會力模型\code\fastSweeping.mexw64
?????文件?????????26??2012-05-31?05:50??社會力模型\code\fr
?????文件?????111500??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111396??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111452??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111435??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111459??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111408??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111448??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111481??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111491??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111409??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111471??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111458??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111442??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111469??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111491??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111461??2016-12-18?14:18??社會力模型\code\fr
?????文件?????111490??2016-12-18?14:18??社會力模型\code\fr
............此處省略1839個文件信息
評論
共有 條評論