无线传感器网络节点定位仿真

源代码在线查看: static.anm

软件大小: 1091 K
上传用户: shenshen00
关键词: 无线传感器 定位仿真 网络节点
下载地址: 免注册下载 普通下载 VIP

相关代码

				#mode can be "static" or "mobile"
				mode=static
				#The field is defined as a polygon
				field=(-700,-600);(-650,500);(250,500);(300,-400);(50,-200);(-200,-300);
				# obstacles are not allowed to overlap and must be located completely inside the field
				obstacle1=(-50,-50);(-50,50);(50,50);(50,-40);(20,-20);(-20,-10);
				obstacle2=(50,150);(250,450);(150,-250);
				obstacle3=(-150,150);(-450,450);(-250,-250);
				obstacle4=(0,450);(-50,350);(0,250);(50,320);
				# the range of the nodes in m
				range=150
				# the number of nodes in the simulation
				numberOfNodes=12
				# is the source node placed at position 0,0
				central=false
				# place fixed nodes
				N_0=(50.0,-100.0)
				N_7=(-200.0,300.0)
				# the disttribution of the nodes can be uniform, gaussian, elliptic
				distribution=uniform
				#logging options lik none, all,XML,-XML,tcon,dist,-dist,tdiscon,general
				logging=none,all,-XML,tcon,-dist,tdiscon,general
				#the fileprefix for the logfiles
				logfileprefix=test
				# number of scenarios to be investigated just for the static mode
				scenes=-1
				
							

相关资源