Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dependency graph in .NET

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?

like image 794
user1042666 Avatar asked Jun 22 '26 12:06

user1042666


1 Answers

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.

like image 156
Andre Avatar answered Jun 25 '26 02:06

Andre



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!