Questions tagged [hierarchical]

For issues relating to arranging data and/or resources in a hierarchy.

A hierarchy is an arrangement of items (objects, names, values, categories, resources, etc.) in which the items are represented as being "above," "below," or "at the same level as" one another. Abstractly, a hierarchy is simply an ordered set or an acyclic directed graph.

A hierarchy can link entities either directly or indirectly, and either vertically or horizontally. The only direct links in a hierarchy, insofar as they are hierarchical, are to one's immediate superior or to one of one's subordinates, although a system that is largely hierarchical can also incorporate alternative hierarchies. Indirect hierarchical links can extend "vertically" upwards or downwards via multiple links in the same direction, following a path. All parts of the hierarchy which are not linked vertically to one another nevertheless can be "horizontally" linked through a path by traveling up the hierarchy to find a common direct or indirect superior, and then down again.

568 questions
0
votes
2 answers

C# ASP.NET - hierarchical array

I am trying to store data in an array like the following in a foreach loop: firstname,lastname,dateofbirth Therefore, once the loop has completed I should get {John,Smith,05/05/1980},{Mary,Smith,05/04/1980} etc... This will enable me to access…
Mike91
  • 520
  • 2
  • 9
  • 25
0
votes
1 answer

Possible options for storing hierarchical data

We need the ability to map various types of entities to different types of hierarchical data in our web application. As an example, consider an entity called Vendor. We need the ability to map each instance of vendor to geographical areas. …
manish
  • 19,695
  • 5
  • 67
  • 91
0
votes
2 answers

To Nest or Not to Nest? MVC Controllers (CodeIgniter)

Background: I'm having some trouble understanding exactly how to best use controllers in an MVC architecture. I have a webapp that follows this URL scheme: / - main index /static-page - static pages /categories - index for specific…
ServAce85
  • 1,602
  • 2
  • 23
  • 51
-1
votes
1 answer

Hierarchical Bayesian Distance Sampling based on Sollmann et al 2015

I'm working to adapt code from a paper by Sollman et al (2015) that uses distance sampling to correct for imperfect bird detection using species-specific and community parameter estimates for multiple species…
-1
votes
1 answer

Hierarchical query from two tables

Help me create a hierarchical query. I have two table: Table 1(dic_kgs) KGS_ID KGS_PARENT_ID KGS_CODE 1 A 2 1 A0 3 1 A1 4 B and so…
user348173
  • 8,818
  • 18
  • 66
  • 102
-1
votes
2 answers

sas Reading Hierarchical Files

I got this hierarchical files A123456789,A,3 Y,15FEB1980,M,M,3,FT,55000 N,3JUN1982,F,M,3,UE,0 N,24JAN2005,M,S,2,NA,0 A135790234,B,1 Y,19OCT1950,F,D,0,PT,5000 B234523456,A,2 N,21MAY1975,M,M,2,FT,30000 …
-1
votes
1 answer

hierarchical structure query in mysql

-- PARENT_TABLE seq parent_id name 0 root 1 0 node1 2 1 node1_1 3 2 node1_1_1 4 1 node1_2 5 2 node1_1_2 -- CHILD_TABLE id name …
1line
  • 13
  • 3
-1
votes
1 answer

I am trying to analyze below query related to hierarchical and Regex can any one help me in understanding?

I have come across below query, but I am not able to conclude my analysis related to below query. The main aim of the below query is to convert the number to the alphabet. But the usage of the hierarchical query made me confuse. merge into s_export…
Hargun Suri
  • 171
  • 1
  • 5
  • 17
-1
votes
1 answer

Hierarchical data grid example vmware clarity

I have data in json formate and I want to show that in Datagrid. It should display as root-child format. sample pics is attached. Can someone please help me how can I do this? enter image description here
-1
votes
1 answer

Networkx : real vs integer internals and hierarcial graph plot?

I'm using the following plot() function which I stumbled upon after experiments. previous question def plot(self): plt.figure() pos = nx.graphviz_layout(self.g, prog='dot') nx.draw(self.g, pos, node_size=660, node_color='#aaaaff' ) The…
sten
  • 7,028
  • 9
  • 41
  • 63
-1
votes
1 answer

Store and retrieve friends contact list using mysql

I want to create a database that can store the friends contact list as like social networking what is the best way to design the database structure and easy to retrieve the contacts of friends using mysql. I need solution for this, HELP ME
Deepu
  • 11
  • 4
-1
votes
1 answer

Mysql algorithmic (TREE) PLSQL / SQL

I seek the solution for SQL browse my " SQL tree." I found several topics but I can not fit my problem. Here is my example: I have several element A ( ID = 1 ), B ( ID = 2 ), C ( ID = 3 ), D ( ID = 4 ), E ( ID = 5 ), F ( ID = 6 ), G ( ID =…
R3d0x
  • 1
  • 1
-1
votes
2 answers

sql query oracle to fit a tree structure format

I have created these sample tables to create a json tree structure so that i can use jqtree to create a tree layout. I want my json to be in the format [ {"id":1, "parentid": 0, "name": "Carnivores"}, {"id":2, "parentid": 0, "name":…
user525146
  • 3,918
  • 14
  • 60
  • 103
-1
votes
1 answer

Persisting and rejecting changes to different levels of a hierarchical association - Extjs 5/Sencha

I'm facing a very critical issue where I can't persist my data to the server. I am building a dashboard where the user can create new dashboards and customize existing ones. A dashboard layout will have one or more rows. Each row contains one or…
Dushan
  • 49
  • 1
  • 4
-1
votes
1 answer

C# LINQ Query for selecting data from different levels of hierarchy

I have a hierarchical data arranged in form Groups -> SubGroups -> Items. I want to convert following piece of code in some efficient linq query using SelectMany IEnumerable res = SubGroups -> Items>…
user3056239
  • 61
  • 1
  • 8
1 2 3
37
38