multiway-tree Questions
8
Solved
Imagine the following tree:
A
/ \
B C
/ \ \
D E F
I'm looking for a way to query if for example F is a descendant of A (note: F doesn't need to be a direct descendant of A), which, in this p...
Gatewood asked 16/5, 2011 at 16:27
5
I'm trying to figure out what exactly happens when there is a node overflow.
info:
in my b+ tree there are 4 pointers per block and 3 data sections .
problem:
I understood that when there is an ove...
Singultus asked 11/6, 2011 at 7:48
7
Solved
I have a C++ class representing a hierarchically organised data tree which is very large (~Gb, basically as large as I can get away with in memory). It uses an STL list to store information at each...
Omar asked 26/4, 2010 at 14:55
3
I would like to ask if someone knows a performant way to store the path from the root node to a new node of a multiway tree during the insertion of the new node. E.g., if I have the following tree:...
Crankcase asked 25/8, 2019 at 9:25
4
We need ADT having search and rank features.
That is, in addition to the interface of STL map, a function 'int get_rank(key)' is required.
Standard implementation of such function requires support...
Survey asked 18/2, 2010 at 16:51
6
Solved
I am having trouble implementing a non-binary tree, where the root node can have an arbitrary amount of child nodes. Basically, I would like some ideas on how where to go with this, since I do have...
Napiform asked 1/6, 2013 at 21:26
2
Solved
I am trying to adapt Brian's Fold for Binary Trees (http://lorgonblog.wordpress.com/2008/04/06/catamorphisms-part-two/) to apply for Multiway trees.
Summarizing from Brian's Blog:
Data structure:
t...
Henton asked 1/6, 2013 at 18:20
1
Solved
Many data structures store multi-way trees as binary trees using a representation called the "left-child, right-sibling" representation. What does this mean? Why would you use it?
Arundel asked 23/12, 2012 at 23:30
6
Solved
We are given a graph G(V,E) with N nodes (Numbered from 0 to N-1) and exactly (N-1) two-way Edges.
Each edge in a graph has a positive cost C(u,v)(Edge weight).
The entire graph is such that ther...
Nonconformance asked 19/6, 2012 at 8:46
1
Solved
Does somebody know how do I plot a multiway-tree in a aesthetically plausible way?
info:
more or less 100 items
each level have approximately the same number of items
10 levels
each node have be...
Palacios asked 11/8, 2011 at 4:11
4
Solved
Update:
I found more of an example of what I'm trying to pull off: Managing Hierarchical Data in MySQL. I want to do that but in JavaScript because I am building an app that takes in comments that ...
Collector asked 27/1, 2011 at 17:27
2
Solved
This shouldn't be a difficult question, but I'd just like someone to bounce it off of before I continue. I simply need to decide what data structure to use based on these expected activities:
Wil...
Melchior asked 21/2, 2010 at 9:49
1
© 2022 - 2024 — McMap. All rights reserved.