lsgg_test.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:GraphLearn 作者: smautner 项目源码 文件源码
def test_extract_core_and_interface():
    graph=nx.path_graph(4)
    prep_cip_extract(graph)
    res = lcu.extract_core_and_interface(root_node=3, graph=graph, radius=1,thickness=1)
    #gprint(res.graph)
    assert ( str(res) == "cip: int:16931, cor:695036, rad:1, thi:1, rot:3")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号