From c83ca05c60ca23f543babb4611bfff3f9924aed3 Mon Sep 17 00:00:00 2001 From: Mansard <nmansard@laas.fr> Date: Sun, 11 Sep 2011 12:10:55 +0200 Subject: [PATCH] Added a fast forward to execute all events until a given position. --- python/attime.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/attime.py b/python/attime.py index 6ed7e19..0cd0c1e 100644 --- a/python/attime.py +++ b/python/attime.py @@ -70,4 +70,7 @@ class Calendar: selfdeco.fun(*args) return calendarDeco + def fastForward(self,t): + for i in range(t): self.run(i) + attime=Calendar() -- GitLab