Skip to content

Commit

Permalink
added SUL.io_query for convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
zwergziege committed Mar 18, 2024
1 parent b75813a commit a687458
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aalpy/base/SUL.py
Expand Up @@ -40,6 +40,9 @@ def query(self, word: tuple) -> list:
self.num_steps += len(word)
return out

def io_query(self, word : tuple):
return list(zip(word, self.query(word)))

@abstractmethod
def pre(self):
"""
Expand Down

0 comments on commit a687458

Please sign in to comment.