📄 std-example
字号:
# Topology description:# 'nr-dimensions' are we describing a 2-D or a 3-D topology?# 'grid-bound' the network is contained in a box of size# [0:grid-bound] x [0:grid-bound] (x [0:grid-bound])# 'radio-range' the maximum length of a connection between two nodes# 'connection' a radio link between a source and destination node.# Note that connections are directed and there# need NOT be a reverse connection.# 'measured-range' (noisy) distance estimate obtained by receiver on# a connection (same for each message).# 'nr-nodes' the number of nodes in the network# 'nr-anchors' the number of anchors in the network. An anchor is a# node that 'knows' its true position, others do not.# 'ID' node identification (unsigned int), may be outside# range [0:'nr-nodes'-1]# 'position' 2 (or 3) floating point numbers# nr-dimensions grid-bound radio-range2 10 6# nr-nodes nr-anchors10 4# positions: 'nr-nodes' lines with <ID> <x-coord> <y-coord> [<z-coord>]0 7.82637e-05 2.189591 3.83502 5.2972 4.17486 5.269293 9.10321 3.282344 2.47039 0.7268595 7.66495 1.665076 9.04653 4.939777 5.00707 4.644468 8.27817 6.295439 2.33195 8.45982# anchor-list: 'nr-anchor's IDs0 3 4 9# connections: src dst measured-range0 1 4.935870 2 5.187810 4 2.870890 7 5.576411 0 4.935871 2 0.3409671 3 5.640271 4 4.769531 5 5.278191 6 5.223741 7 1.341461 8 4.553951 9 3.50182 0 5.187812 1 0.3409672 3 5.313812 4 4.851692 5 5.017082 6 4.88282 7 1.040672 8 4.229682 9 3.684533 1 5.640273 2 5.313813 5 2.164293 6 1.658393 7 4.316683 8 3.1244 0 2.870894 1 4.769534 2 4.851694 5 5.278614 7 4.667165 1 5.278195 2 5.017085 3 2.164295 4 5.278615 6 3.554215 7 3.992625 8 4.670796 1 5.223746 2 4.88286 3 1.658396 5 3.554216 7 4.050246 8 1.558277 0 5.576417 1 1.341467 2 1.040677 3 4.316687 4 4.667167 5 3.992627 6 4.050247 8 3.664137 9 4.659758 1 4.553958 2 4.229688 3 3.1248 5 4.670798 6 1.558278 7 3.664139 1 3.50189 2 3.684539 7 4.65975
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -