MCPcopy Create free account
hub / github.com/easy-graph/Easy-Graph / add_extra_selfloop

Method add_extra_selfloop

easygraph/classes/graph.py:330–333  ·  view source on GitHub ↗

r"""Add extra selfloops to the graph.

(self)

Source from the content-addressed store, hash-verified

328 return self.cache["D_v"]
329
330 def add_extra_selfloop(self):
331 r"""Add extra selfloops to the graph."""
332 self._has_extra_selfloop = True
333 self._clear_cache()
334
335 def remove_extra_selfloop(self):
336 r"""Remove extra selfloops from the graph."""

Callers 1

L_GCNMethod · 0.80

Calls 1

_clear_cacheMethod · 0.95

Tested by

no test coverage detected