heal-research / SimSharp

Sim# is a .NET port of SimPy, process-based discrete event simulation framework
MIT License
126 stars 30 forks source link

Add additional hooks to resources #5

Closed abeham closed 5 years ago

abeham commented 5 years ago

The desmod package builds on top of SimPy and adds some additional components and events that processes can hook to which may be very nice for Sim# as well:

when_any and when_full could be translated for ResourcePool as well. Even Container could be enhanced with some of these hooks.

Additionally, desmod specifies a PriorityQueue (PriorityStore) which would dequeue items in priority order.

abeham commented 5 years ago

Add PriortiyStore and perform some refactorings in 14c69d18c8469e92bb2982fd33689753b91aac9c