I have a simulation whose number of time steps varies according to inputs. To find the last state of the simulation via interpolation, I need to save the last N time steps. I can use a FIFO queue to save the results of last N time steps (e.g. to use in interpolation). Pseudocode:
No comments:
Post a Comment