Tweak matcher (compute connected components in advance). Simple pattern matching with RAMification (incl. Python expressions) seems to work.
This commit is contained in:
parent
bed3529676
commit
4160a8953e
13 changed files with 388 additions and 70 deletions
|
|
@ -105,6 +105,9 @@ class PyState(State):
|
|||
else:
|
||||
return None, None
|
||||
|
||||
def is_edge(self, elem: Element) -> bool:
|
||||
return elem in self.edges
|
||||
|
||||
def read_dict(self, elem: Element, value: Any) -> Optional[Element]:
|
||||
e = self.read_dict_edge(elem, value)
|
||||
if e == None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue