基于行为规则的移动建模与按需路由协议研究
在网络与交通模拟领域,基于行为规则的移动建模以及按需路由协议在不同场景下的性能表现是重要的研究方向。下面将详细介绍相关的模拟场景、模型以及实验结果。
团队成员移动模拟场景
首先来看一个关于 9 名团队成员在 100×100 平方米开放空间拓扑(含一个障碍物)中的模拟场景脚本:
1: gh% set ghost [new Simulator]
2: gh% set topo [new Topology]
3: gh%
4: gh% set N 9; set t1 10; set t2 45;
5: gh%
6: gh% $topo set-dimensions 100.0 100.0
7: gh%
8: gh% source ./map.sed
9: gh%
10: gh% set rdv1 [new Attractor]
11: gh% $rdv1 set-pos 50.00 50.0
12: gh%
13: gh% set destination [new Attractor]
14: gh% $destination set-pos 100.00 50.0
15: gh%
16: gh% for {set i 0} {$i<$N } {incr i} {
17: gh%
set peds ($i) [$ghost peds]
18: gh%
$peds ($i) init-state-pos [$ghost draw-uniform 0.0 40.0] /
19:
[$ghost draw-uniform 0.0 100.0]
20: gh%
$peds at
超级会员免费看
订阅专栏 解锁全文
1021

被折叠的 条评论
为什么被折叠?



