Object Diagrams: slots work

This commit is contained in:
Joeri Exelmans 2024-09-03 14:00:55 +02:00
parent d2c996f4f7
commit 2b22be01ec
8 changed files with 79 additions and 704 deletions

View file

@ -18,11 +18,8 @@ It is intended as a guideline, even for novices, and provides an in-depth look
at the workings behind various techniques for efficient pattern matching.
"""
from planGraph import *
import collections
import itertools
# import numpy as np
class PatternMatching(object):
"""
@ -563,9 +560,6 @@ class PatternMatching(object):
return False
print("graph:", graph)
# create adjecency matrix of the graph
H, h = self.createAdjacencyMatrixMap(graph, pattern)
# create adjecency matrix of the pattern