Replies: 2 comments 3 replies
-
Hi @karpase! We definitely would like to have a temporal simulator, but we got stuck on the interface for such a simulator. I had in mid a more "interactive" interface where the user can evolve the system along different directions by specifying the actions to perform. The issue I have is what the user must specify for this simulation, TAMER has an interface that allows to only specify the sequence of events/happenings and then computes the time using an STN, but I am unsure this is a general enough interface. Lifting TAMER interface, it would be something like: with TimedSimulator(problem) as sim:
initial_state = sim.get_initial_state()
a_started = sim.apply_event(initial_state, a, START) #construct the state where A is strted, but on ended yet
a_ended = sim.apply_event(a_started, a, END) #finish A
ab_started = sim.apply_event(a_started, b, START) #construct a state where B is started after A is started, but neither is terminated yet
... Inside every state there is an STN checking that the total order sequence of event is schedulable. Do you have any idea? What would be a convenient interface for your use-cases? |
Beta Was this translation helpful? Give feedback.
-
PS: another idea was to consider explicit time elapse, so ask the user to decide when and by how much time is allowed to elapse. |
Beta Was this translation helpful? Give feedback.
-
Hi @Framba-Luca and @mikand ,
I saw that there's an old (and possibly abandoned) branch called timed-simulator, with something that can simulate a temporal plan.
Would that still work? Or is there some other way to simulator the execution of a temporal plan?
Thanks,
Erez.
Beta Was this translation helpful? Give feedback.
All reactions