In my app I have stuff like tasks, resources and locks. Tasks can depend on resources, other tasks currently running or finished and locks over resources. Tasks can also create resources. Is there some open source or commercial library, that can help with modeling this?
Take a look at NGenerics - http://code.google.com/p/ngenerics/.
It has a great graph library and implements Tarjan’s strongly connected components algorithm for detecting cycles in a graph. It should have everything you need to model this in code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With