我设置了三组节点,它们都作为RandomWaypoint移动运行,但我不能让它们在不同的区域运行。如何为不同的组设置不同的节点移动区域?
我尝试设置组的 worldSize、mapFile、routeFile 等,但它们不起作用。
Group6.groupID = t
Group6.bufferSize = 50M
Group6.movementModel = RandomWaypoint
movementModel6.worldSize = 200,200
RandomWaypoint.mapFile = data/my1.wkt
RandomWaypoint.worldSize = 200,200
Group6.worldSize = 200,200
Group6.routeFile = data/my1.wkt
#Group6.routeType = 2
Group6.waitTime = 10, 30
Group6.speed = 7, 10
Group6.nrofHosts = 200