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
|
|
@ -81,6 +81,9 @@ class Bottom:
|
|||
result = self.state.read_edge(edge)
|
||||
return result[1] if result != None else result
|
||||
|
||||
def is_edge(self, elem: UUID) -> bool:
|
||||
return self.state.is_edge(elem)
|
||||
|
||||
def read_incoming_edges(self, target: UUID, label=None) -> List[UUID]:
|
||||
"""
|
||||
Reads incoming edges of an element. Optionally, filter them based on their label
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue