Re:Developing Dataflow-Like Programming Systems
by mattcarkci on Tuesday October 01, 2013 @01:07AM
(#6474190)
I'm the author of the book...
It may be fairly simple for you to change your design to generate a static call graph for the nodes using topographical sort. Then on each "tick" you simply execute each node, in order, from top to bottom.
I always like to use a stack to schedule execution because I can then change the algorithm that schedules them to use a very different method.
- Matt Carkci
Perhaps this book will be worth checking out to see some additional ideas on scheduling.