9nodes.conf
来自「无限传感器网络的模拟环境」· CONF 代码 · 共 29 行
CONF
29 行
# 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## The sourcenode { id 0, location { 0, 1 }, neighbors { 2 } }# The destinationnode { id 1, location { 4, 1 }, neighbors { 4, 8 } }# Node Anode { id 2, location { 1, 1 }, neighbors { 0, 3, 5 } }# Node Bnode { id 3, location { 2, 1 }, neighbors { 2, 4 } }# Node C, the node that fails.node { id 4, location { 3, 1 }, neighbors { 3, 1 }, events { down 400, up 500 } }#node { id 4, location { 3, 1 }, neighbors { 3, 1 } }# 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 { 1, 7 } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?