tree
Expanding a tree-like data structure
I am attempting to use Python to alter some text strings using the re module (i.e., re.sub). However, I think that my question is applicable to other languages that have regex implementations.[详细]
2023-04-03 19:51 分类:问答how to get the path from root to a given node on a binary tree?
I am trying to find out how to get the path from root to a given node on a binary tree. It is not binary search tree.[详细]
2023-04-03 11:59 分类:问答Entity Framework and self-referencing table
I nee开发者_运维百科d to have a database that starts with a table called \"User\" that needs to self reference itself and will have a very deep graph of related objects. It will need to be like the le[详细]
2023-04-03 04:07 分类:问答extjs 4 grid to tree drag drop
i am working with grid to tree drag n drop. 开发者_如何学Ci am able to add new node to root of tree by dragging it from grid but i dont know how to add child to node i hovered on? I spent 2 days on di[详细]
2023-04-02 11:07 分类:问答How to check if is descendant within tree structure?
I have following structure: class Employee { public long Id { get; set; } public long? ParentId { get; set; }[详细]
2023-04-02 10:18 分类:问答Prolog - Count the number of leaves in a tree
If I have a tree that for example looks like this: tree3(b(l(1),b(l(2),l(3)))). How would I write a program that counts the number of leaves?[详细]
2023-04-02 09:45 分类:问答java: very large trees?
The objective is to build very large trees. By very large I mean hun开发者_StackOverflow中文版dreds of millions of nodes, fitting in a few gigabytes.[详细]
2023-04-01 23:33 分类:问答What is the most space efficient way to store an N-ary tree while preserving hierarchy traversal?
I read this paper. But I\'d love to avoid a ton of research to solve this problem if someone has already done it. I need this space efficient tree for a reasonably (conceptually) simple GUI control:[详细]
2023-04-01 13:39 分类:问答loop and process items in list, reloop until all items have been processed
I\'ve found similar but not identical questions 742371 and 4081217 with great answers, but haven\'t come to a solution to my problem.[详细]
2023-04-01 11:13 分类:问答What is thare any special boost\std container for trees?
So I want to store pairs string-path <-> my_file_object in such container with expected total object size 100 000.[详细]
2023-04-01 05:17 分类:问答