11anodes.conf
来自「无限传感器网络的模拟环境」· CONF 代码 · 共 33 行
CONF
33 行
# A simple topology for verifying that the cost tables are updated correctly# when a node (C) goes down.## Src -- A ------- B -- C ------ Dest# | |# D -- E -- F -- G -- H -- I## The sourcenode { id 0, location { 0, 1 }, neighbors { 2 } }# The destinationnode { id 1, location { 6, 1 }, neighbors { 4, 10 } }# Node Anode { id 2, location { 1, 1 }, neighbors { 0, 3, 5 } }# Node Bnode { id 3, location { 3, 1 }, neighbors { 2, 4 } }# Node C, the node that fails.node { id 4, location { 4, 1 }, neighbors { 3, 1 }, events { down 400, up 500 } }# Node Dnode { id 5, location { 1, 0 }, neighbors { 2, 6 } }# Node Enode { id 6, location { 2, 0 }, neighbors { 5, 7 } }# Node Fnode { id 7, location { 3, 0 }, neighbors { 6, 8 } }# Node Gnode { id 8, location { 4, 0 }, neighbors { 7, 9 } }# Node Hnode { id 9, location { 5, 0 }, neighbors { 8, 10 } }# Node Inode { id 10, location { 6, 0 }, neighbors { 9, 1 } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?