Skip to content

Commit

Permalink
Merge pull request #465 from choubeyy/main
Browse files Browse the repository at this point in the history
Updated gSpan tutorial
  • Loading branch information
udayRage authored Jun 20, 2024
2 parents 82b71e9 + 989fa8b commit 7eed368
Show file tree
Hide file tree
Showing 2 changed files with 1,198 additions and 129 deletions.
2 changes: 1 addition & 1 deletion PAMI/subgraphMining/topK/tkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def registerAsCandidate(self, subgraph):
def isCanonical(self, c: _ab.DfsCode):
canC = _ab.DfsCode()
for i in range(c.size):
extensions = self.rightMostPathExtensionsFromSingle(canC, _ab.Graph(c))
extensions = self.rightMostPathExtensionsFromSingle(canC, _ab.Graph(-1, None, c))
minEe = None
for ee in extensions.keys():
if minEe is None or ee.smallerThan(minEe):
Expand Down
Loading

0 comments on commit 7eed368

Please sign in to comment.