2020.3.4

Posted manqing

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

以上是关于2020.3.4的主要内容,如果未能解决你的问题,请参考以下文章

谷歌浏览器调试jsp 引入代码片段,如何调试代码片段中的js

片段和活动之间的核心区别是啥?哪些代码可以写成片段?

VSCode自定义代码片段——.vue文件的模板

VSCode自定义代码片段6——CSS选择器

VSCode自定义代码片段——声明函数

VSCode自定义代码片段8——声明函数