You could try the Javascript Discrete Event Simulation library at http://www.simjs.com. It supports event-scheduling and discrete time flow. You can schedule "events" for the future or have them wait on some predicate, and register callback functions which will be called when the (simulated) time has reached the deadline or the predicate is satisfied.
You question is not very clear to me, but I think that you could use a discrete event simulation system and ignoring time component. You can schedule all events 'right now' and it should work independetly of time domain. I am using SimPy http://simpy.sourceforge.net/ and IMO it is capable of it.
I would recommend looking into Petri Nets. They are widely used for business process modeling and they do not need time. the colored petri nets can represent time as well if needed. and stochastic Petri-nets can also address randomness and time. this is a definitive introduction to what they are, and what they can do.
发布评论
评论(3)
您可以尝试 http://www.simjs.com 上的 Javascript 离散事件模拟库。它支持事件调度和离散时间流。您可以为未来安排“事件”或让它们等待某些谓词,并注册回调函数,这些函数将在(模拟的)时间达到截止日期或满足谓词时调用。
You could try the Javascript Discrete Event Simulation library at http://www.simjs.com. It supports event-scheduling and discrete time flow. You can schedule "events" for the future or have them wait on some predicate, and register callback functions which will be called when the (simulated) time has reached the deadline or the predicate is satisfied.
你的问题对我来说不是很清楚,但我认为你可以使用离散事件模拟系统并忽略时间分量。您可以“立即”安排所有事件,并且它应该独立于时域工作。我正在使用 SimPy http://simpy.sourceforge.net/ 并且 IMO 它能够做到这一点。
You question is not very clear to me, but I think that you could use a discrete event simulation system and ignoring time component. You can schedule all events 'right now' and it should work independetly of time domain. I am using SimPy http://simpy.sourceforge.net/ and IMO it is capable of it.
我建议研究一下 Petri Nets。它们广泛用于业务流程建模并且不需要时间。如果需要的话,彩色培养网也可以代表时间。随机 Petri 网也可以解决随机性和时间问题。
这是对它们是什么以及它们可以做什么的明确介绍。
http://www2.ing.unipi.it/~a009435/issw /extra/murata.pdf
有大量不同语言的软件包,您可以使用他们的代数方法开发自己的软件包以快速实现。
I would recommend looking into Petri Nets. They are widely used for business process modeling and they do not need time. the colored petri nets can represent time as well if needed. and stochastic Petri-nets can also address randomness and time.
this is a definitive introduction to what they are, and what they can do.
http://www2.ing.unipi.it/~a009435/issw/extra/murata.pdf
there are tons of packages for them in different languages and you can develop your own using their algebraic methodologies for fast implementation.