基于布朗粒子的随机运动度量网络中节点之间的距离

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/DreamHome_S/article/details/79893408

基于布朗粒子的随机运动度量网络中节点之间的距离

算法思想

Consider a connected network of N nodes and M edges. Its node set is denoted by V = { 1 , , N } and its connection pattern is specified by the generalized adjacency matrix A . If there is no edge between node i and node j , A i j = 0 ; if there is an edge in between, A i j = A j i = 0 and its value signifies the interaction strength (self-connection is allowed). The set of nearest neighbors of node i is denoted by E i . A Brownian particle keeps moving on the network, and at each time step it jumps from its present position (say i ) to a nearestneighboring position j . When no additional knowledge about the network is known, it is natural to assume the following jumping probability P i j = A i j / l = 1 N A i l (the corresponding matrix P is called the transfer matrix)

Define the node-node distance d i , j from i to j as the average number of steps needed for the Brownian particle to move from i through the the network to j :

d i , j = l = 1 N ( 1 I B ( j ) ) i l

where I is the N × N identity matrix and matrix B ( j ) equals to the transfer matrix P except that B l j ( j ) for any l V .

算法实现

算法代码参考

猜你喜欢

转载自blog.csdn.net/DreamHome_S/article/details/79893408