コード例 #1
0
ファイル: test_graphs.py プロジェクト: dsacc/pygsp
 def test_RandomRegular():
     G = graphs.RandomRegular()
コード例 #2
0
ファイル: test_graphs.py プロジェクト: andromeda0505/pygsp
 def test_randomregular(self):
     k = 6
     G = graphs.RandomRegular(k=k)
     np.testing.assert_equal(G.W.sum(0), k)
     np.testing.assert_equal(G.W.sum(1), k)
コード例 #3
0
ファイル: test_plotting.py プロジェクト: dsacc/pygsp
 def test_RandomRegular():
     G = graphs.RandomRegular()
     needed_attributes_testing(G)