add time index to atomic predicates
This commit is contained in:
parent
652fdde4d4
commit
395c87cbe6
2 changed files with 3 additions and 3 deletions
|
|
@ -30,9 +30,9 @@ class AST(object):
|
|||
|
||||
|
||||
|
||||
class AtomicPred(namedtuple("AP", ["id"]), AST):
|
||||
class AtomicPred(namedtuple("AP", ["id", "time"]), AST):
|
||||
def __repr__(self):
|
||||
return "{}".format(self.id)
|
||||
return f"{self.id}[{self.time}]"
|
||||
|
||||
def children(self):
|
||||
return []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue