MCPcopy Index your code
hub / github.com/clips/pattern / split

Method split

pattern/graph/__init__.py:515–518  ·  view source on GitHub ↗

Returns the list of unconnected subgraphs.

(self)

Source from the content-addressed store, hash-verified

513 return self.density < 0.35
514
515 def split(self):
516 """ Returns the list of unconnected subgraphs.
517 """
518 return partition(self)
519
520 def update(self, iterations=10, **kwargs):
521 """ Graph.layout.update() is called the given number of iterations.

Callers 15

textFunction · 0.45
textmetricsFunction · 0.45
PFunction · 0.45
flesch_reading_easeFunction · 0.45
ngramsFunction · 0.45
type_token_ratioFunction · 0.45
urldecodeFunction · 0.45
_parseMethod · 0.45
mimetypeMethod · 0.45
updateMethod · 0.45
find_urlsFunction · 0.45
_authenticateMethod · 0.45

Calls 1

partitionFunction · 0.85

Tested by 11

test_spellingMethod · 0.36
test_parseMethod · 0.36
test_tagged_stringMethod · 0.36
test_splitMethod · 0.36
test_parseMethod · 0.36
test_url_headersMethod · 0.36
test_model_exportMethod · 0.36
test_splitMethod · 0.36
test_absMethod · 0.36
test_parseMethod · 0.36
test_parseMethod · 0.36