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
-1
votes
2 answers

Data structure for hierarchical members in C#

I'm trying to read data from WSDL file and get stuck, because there could be a big hierarchical tree and I don't know what kind data structure use to get inputs and outputs, because they can have input as a object and object can point to couple…
krapstuke
  • 1
  • 1
-2
votes
1 answer

Is it possible to do a hierarchical diagram with a large dataset over 100?

I am trying to create a hierarchical graph (like a tree structure but ideally in a circle) that reflects a 3 way connection that goes from the individual sample to species to what label it falls under. Essentially emphasizing that all of these are…
IzOss
  • 25
  • 2
-2
votes
1 answer

SQL Server hierarchy, selecting parent nodes for distinct IDs

Stuck on this hierarchy problem, so here goes. I have the following hierarchy table, which has been truncated. The hierarchy has been joined to another table on the 'codes' column, with the following sample result. Let's call this table1. For each…
user2923767
  • 567
  • 1
  • 4
  • 13
-2
votes
2 answers

How to sum the value of child items from a hierarchical list in a loop

How to sum the value of child items from a hierarchical list in a loop. I need that during the loop in the list the values of the amount and price property contain the sum of these properties of the children. Below are the two classes to be used to…
-2
votes
1 answer

R- Equation with additional condition. Vector condition

I've got a problem with computing some expression like this: equation I tried use solve function but it shows me matrix must be n x n size. If someone encountered similar problem please help me or give some sources ;)
-2
votes
1 answer

Implementing hierarchical inheritance in java

I have simple usecase but seems tricky to me atleast. I have class public class Operation { private int a,b; public Operation(){ } public Operation(int a,int b){ this.a=a; this.b=b; } public int…
user09
  • 920
  • 2
  • 12
  • 38
-2
votes
1 answer

Hierarchical Queries in Oracle SQL

Can I use 2 tables for hierachical queries?
-2
votes
2 answers

Hierarchical models of software quality

Can anyone help me listing the Hierarchical models of software quality? Please can anyone say me Is it just McCall and Bohem model or many other hierarchical models exists?
karthi
  • 27
  • 1
  • 2
  • 4
-2
votes
1 answer

A general solution for providing modular setting system

We are planing to provide a general setting(configuration) system for a single page web application base on asp.net and SqlServer , we need a dynamic modular setting(configuration) which it can apply settings in a hierarchical way for any part of…
Masoud
  • 124
  • 1
  • 8
-2
votes
1 answer

Why my menu is not hierarchical?

I want to create a hierarchical menu. The function: /* * Table has 3 fields: `ID`, `PARENTID` and `NAME` * `ID` is unique, `PARENTID` showing his parent node id. * This function will go through it and build unordered list and call itself when needed…
Marius
  • 161
  • 1
  • 4
  • 10
-3
votes
1 answer

how to convert flatten table to nested (hierarchical) json in python?

I have a flatten table. I want to convert it to a nested json format. database schema table_name col_name exploration dbo TestTable name exploration dbo TestTable last_name exploration dbo Table_1 …
-3
votes
1 answer

Implementing hierarchical clustering in Python using Levenshtein distance

Following up on my previous question, I have implemented a clustering algorithm for a huge number of strings using Python & Levenshtein distance..But it is taking a very long time to complete clustering. Any suggestions please? <> iterate thro the…
-5
votes
1 answer

How do I know which observations belong to which cluster?

I ran hierarchical clustering in R, and how can I which observation belongs to which cluster? Thanks! ### Hierarchical Clustering d <- dist(EMEA_2, method = "euclidean") # distance matrix fit <- hclust(d, method="complete") ### Decide bet…
Crubal Chenxi Li
  • 159
  • 2
  • 11
1 2 3
37
38