用于在分层数据中找到原因的确切根的逻辑。 [英] Logic to find the exact root for the cause in hierarchical data.

查看:66
本文介绍了用于在分层数据中找到原因的确切根的逻辑。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



有人能告诉我如何识别分层树中的人或事物。就像我实际想要知道形成一个群体的人,如果1个行为不端,我应该能够证明它来自这样一个人,属于A组,属于A地区,Z街,House no ## #n等等..



众议院否

|

Z街

|

地区A

|

A组

|

人A

在此先感谢。

Hi all,

Can anybody tell me how do i identify a person or a thing in a hierarchical tree. Like i actual want to know form a group people if 1 misbehaves, i should be in a position to show it was from such a person, belonging a Group A, belonging to "A" locality, "Z" street, House no ### n so on..

House no
|
Z street
|
Locality A
|
Group A
|
Person A
Thanks in Advance.

推荐答案

如果我理解你,你有数据的分层(树)结构,所以......所有你需要做的是使用层次算法 [ ^ ]。



请参阅这些CP文章:

Tree Iterators [ ^ ] - 这就是你要找的东西!

^ ]

从数据库中检索分层数据 [ ^ ]
If i understand you well, you have hierarchical (tree) structure of data, so... all you need to do, is to use hierarchical alorithm(s)[^].

Please, refer these CP articles:
Tree Iterators[^] - this is what you are looking for!
Hierarchical Tree Represented by Modified Preorder Tree Traversal Technique using C# 3.0 and SQL 2005.[^]
Retrieve Hierarchical Data from Database[^]


这篇关于用于在分层数据中找到原因的确切根的逻辑。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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