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

Method edge

pattern/graph/__init__.py:219–220  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

217 self.edges.pop(node.id, None)
218
219 def edge(self, node):
220 return self.edges.get(isinstance(node, Node) and node.id or node)
221
222#--- EDGE ------------------------------------------------------------------------------------------
223

Callers 13

add_edgeMethod · 0.45
edgeMethod · 0.45
depth_first_searchFunction · 0.45
breadth_first_searchFunction · 0.45
edgesFunction · 0.45
cliqueFunction · 0.45
graph.jsFile · 0.45
edgesFunction · 0.45
similarityMethod · 0.45
test_edgeMethod · 0.45
test_graph_edgesMethod · 0.45
test_pathsMethod · 0.45

Calls 1

getMethod · 0.45

Tested by 4

test_edgeMethod · 0.36
test_graph_edgesMethod · 0.36
test_pathsMethod · 0.36
test_edgesMethod · 0.36