Network robustness


活动地址:CSDN21天学习挑战赛

Define

——网络的稳健性/鲁棒性

Network robustness:

the ability of a network to maintain its general structural properties when it faces failures or attacks

——网络在面临故障或攻击时保持其一般结构属性的能力

Type of attacks:

removal of nodes or edges

structural properties:(结构特性)

connectivity

——Robustness is going to be the network’s ability to maintain its connectivity

And so you would like for the transportation network to be robust to closures of airports, so that the general connectivity or the general function of the network is still maintained even after it might have lost one particular airport.

——因此,您希望交通网络对机场关闭具有鲁棒性,以便网络的一般连通性或一般功能即使在可能失去一个特定机场后仍能保持。

Disconnecting a Graph

Undirected Graph

What is the smallest number of nodes that can be removed from this graph in order to disconnect it?

nx.node_connectivity(G_un)
#>>1
'''And it says that if I just remove one node, I would be able to disconnect the graph completely.'''

nx.minimum_node_cut(G_un)
#>>{'A'}
'''切除A结点就能得到不连通的图'''

What is the smallest number of edges that can be removed from this graph in order to disconnect it?

nx.edge_connectivity(G_un)

nx.minimum_edge_cut(G_un)

Directed Graph

在这里插入图片描述

Simple Paths

Imagine node G wants to send a message to node L by passing it along to other nodes in this network

sorted(nx.all_simple_paths(G,source='G',target='L'))

Node Connectivity

If we wanted to block the message from G to L by removing nodes from the network, how many nodes would we need to remove?

nx.node_connectivity(G,'G','L')
#>>2
'''至少要删除两个点'''

nx.minimum_node_cut(G,'G','L')
#>>{'N','O'}

Edge Connectivity

If we wanted to block the message from G to L by removing edges from the network, how many nodes would we need to remove?

nx.edge_connectivity(G,'G','L')
#>>2

nx.minimum_edge_cut(G,'G','L')
#>>{('A','N'),('J','O')}
除了上述提到的路由指标,还有一些其他的指标也需要考虑,这里进行详细的介绍: 1. Minimum hop (shortest hop):这个指标通常是指从源节点到目的节点的最短路径,即跳数最小的路径。通过选择最短路径,可以减少能耗和时延,提高网络的可靠性和稳定性。 2. Energy:能耗是无线传感器网络中最重要的路由指标之一。传感器节点的能耗通常是通过电池供电,因此需要设计出一种能够有效降低能耗的路由协议,延长传感器节点的寿命。 3. Minimum energy consumed per packet:这个指标是指每个数据包在传输过程中消耗的最小能量。通过选择最小能量消耗的传输路径,可以降低网络的能耗,提高网络的可靠性和稳定性。 4. Maximum time to network partition:这个指标是指网络最大容忍的分裂时间。如果网络在一定时间内无法维持连接,则会出现分裂,影响网络的稳定性和可靠性。因此,需要设计出一种能够最大限度地延长网络分裂时间的路由协议。 5. Minimize variance in node power levels:这个指标是指在整个网络中节点能量水平的方差。通过降低节点能量水平的方差,可以平衡网络中各个节点的负载,避免出现拥塞等问题。 6. Maximum (average) energy capacity:这个指标是指网络中节点的最大(平均)能量容量。通过选择能量容量最大的节点进行数据传输,可以延长网络寿命,提高网络的可靠性和稳定性。 7. Quality-of-Service:这个指标是指网络提供的服务质量,包括延迟、吞吐量、抖动、数据包丢失率、误码率等方面。需要设计出一种能够提供高质量服务的路由协议。 8. Robustness:这个指标是指网络的鲁棒性,包括链路质量、链路稳定性等方面。需要设计出一种能够在不同环境下都能保持良好性能的路由协议。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Caaaaaan

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值