在.NET依赖图 [英] Dependency graph in .NET

查看:135
本文介绍了在.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?

推荐答案

看看 NGenerics - HTTP://$c$c.google.com/p/ ngenerics /

它有一个很大的图形库和工具 tarjan算法检测周期在的曲线图。它应该有你需要的一切来模拟这code。

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.

这篇关于在.NET依赖图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆