OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sgs
(Results
1 - 2
of
2
) sorted by null
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/components/tests/
test_weakly_connected.py
66
sgs
=wcc(G)[0]
67
assert_equal(
sgs
[1][2]['eattr'],'red')
68
assert_equal(
sgs
.node[1]['nattr'],'blue')
69
assert_equal(
sgs
.graph['gattr'],'green')
70
sgs
[1][2]['eattr']='blue'
72
assert_equal(
sgs
[1][2]['eattr'],'blue')
test_strongly_connected.py
74
sgs
=scc(G)[1]
75
assert_equal(
sgs
[1][2]['eattr'],'red')
76
assert_equal(
sgs
.node[1]['nattr'],'blue')
77
assert_equal(
sgs
.graph['gattr'],'green')
78
sgs
[1][2]['eattr']='blue'
80
assert_equal(
sgs
[1][2]['eattr'],'blue')
Completed in 1815 milliseconds