2020.3.4

Description:

Debug for the "dynamic community detection" project;
Only 1 of the 2 communities could be found.

Debug note:

ER - 5, 5,

run.py:106

store A
[[0. 0. 1. 0. 0. 0. 0. 0. 0. 0.],
[0. 0. 1. 1. 0. 0. 0. 0. 0. 0.],
[0. 0. 0. 1. 1. 0. 0. 0. 0. 0.],
[0. 0. 0. 0. 0. 0. 0. 0. 1. 0.],
[0. 0. 0. 0. 0. 1. 0. 0. 0. 0.],
[0. 0. 0. 0. 0. 0. 0. 1. 0. 0.],
[0. 0. 0. 0. 0. 0. 0. 1. 1. 0.],
[0. 0. 0. 0. 0. 0. 0. 0. 1. 1.],
[0. 0. 0. 0. 0. 0. 0. 0. 0. 0.],
[0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]]

#############################
#BUG CATCHED: directed A...  
#############################


run.py:48

store xs
[5.62924497 6.05437285 6.02603722 5.54640685 5.59653924 5.62325238,
 6.01462002 5.95149679 5.02472417 5.02472417]

store new

0




for i in range(len(G)):
    run.py:53
    print change
    0

    print changed_states

    [0.         6.05437285 6.02603722 5.54640685 5.59653924 5.62325238,
    6.01462002 5.95149679 5.02472417 5.02472417]


    funcs.py:375
    print x0 == changed_states
    [0.         6.05437285 6.02603722 5.54640685 5.59653924 5.62325238,
     6.01462002 5.95149679 5.02472417 5.02472417]

    print xs_prev
    [0.         6.05437285 6.02603722 5.54640685 5.59653924 5.62325238,
    6.01462002 5.95149679 5.02472417 5.02472417]

    print xs
    [0.         6.05437285 6.02603722 5.54640685 5.59653924 5.62325238,
    6.01462002 5.95149679 5.02472417 5.02472417]


    funcs.py:384
    print dxdt
    [ 1.00000000e-01  0.00000000e+00 -1.77635684e-15  2.66453526e-15,  1.77635684e-15
     3.55271368e-15  2.66453526e-15  4.44089210e-15, -4.85722573e-16 -4.85722573e-16]
    print xs
    [1.00000000e-31 6.05437285e+00 6.02603722e+00 5.54640685e+00, 5.59653924e+00 5.62325238e+00
    6.01462002e+00 5.95149679e+00, 5.02472417e+00 5.02472417e+00]

    funcs.py:402
    print node_diff
    print top_n_influenced_node_prev
    print top_n_influenced_node

猜你喜欢

转载自www.cnblogs.com/manqing/p/12417119.html