Questions tagged [hierarchy]

For issues relating to creating, maintaining, or displaying a hierarchy of data or resources, etc.

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.

2838 questions
10
votes
4 answers

Make multiple dependent / cascading selection components in JSF

I am trying to make 4 dependent / cascading selection components. In this question, the selection component happens to be a , but this is of course applicable on any other kind of selection component extending from…
Shadooo Medo
  • 101
  • 1
  • 4
10
votes
1 answer

Type Hierarchy in Agda

I am trying to figure out how type hierarchies work in Agda. Assuming I define a set type X: X : Set and then proceed to constructing an inductive type data Y : X -> Set where What is the type of X -> Set? Is it Set or Type? Thank you!
AnaK
  • 685
  • 5
  • 10
10
votes
1 answer

Drools - rule hierarchy and conditional execution

I was wondering if there is a way to define hierarchy (not just order of execution) between rules and control the rule execution - i.e. if the parent rule fired then the ones below should not be evaluated etc... Information in this thread is an…
shikarishambu
  • 2,219
  • 6
  • 35
  • 57
10
votes
9 answers

wordpress: how to add hierarchy to posts

I am creating a web-site on wordpress platform where I want to be able to post my own book texts. So what I want is to have a some kind of hierarchy where I would add a post and then add children to it (chapters). I found this: register_post_type(…
Timur Gafforov
  • 771
  • 3
  • 10
  • 28
9
votes
4 answers

Collapse/expand child nodes of tree in d3.js?

I'm building a tree structure (or rather modifying one of the examples with a set of my own data in my own json) and I'm trying to create some functionality: My tree's layout is that from the tree…
wataraptor
  • 93
  • 1
  • 1
  • 3
9
votes
3 answers

Symfony2: Storing users, roles, role hierarchy, and access controls in database

I've been working with Symfony (2.x) for the first time and I had some questions regarding the definition of roles, role hierarchy, and how they can be assigned to individual users. I was interested in storing the roles and role hierarchy in a…
zeitgeist
  • 199
  • 1
  • 2
  • 7
9
votes
4 answers

Flatten Adjacency List Hierarchy To A List Of All Paths

I have a Table that stores Hierarchical information using the Adjacency List model. (uses a self referential key - example below. This Table may look familiar): category_id name parent ----------- -------------------- ----------- 1 …
Aaron Hoffman
  • 6,604
  • 8
  • 56
  • 61
9
votes
1 answer

D3.js -- loading and manipulating external data

I'm new to D3.js and am playing around with a variety of tutorials/exercises/etc, but my basic need for D3 is to load external data (usually JSON) and draw some interactive charts based on that data. The basic sunburst example is here: I…
tchaymore
  • 3,728
  • 13
  • 55
  • 86
9
votes
1 answer

CUDA texture memory space

When I bind an array to a texture in CUDA, is that array copy to a texture space? or, is that array reference as a texture? If the answer is 1., then i can bind a texture and safety fetch data from the texture memory space while I write the…
pQB
  • 3,077
  • 3
  • 23
  • 49
9
votes
2 answers

A good design pattern for implementing different behaviors on a subject

What is the best design for this scenario? I have different Object types: User, Channel, MessageBox, UserGroup, etc. User and Channel can have permission on other objects. For example User has the following enum defined as its permissions for…
Kamyar
  • 18,639
  • 9
  • 97
  • 171
9
votes
1 answer

Build a hierarchy from a relational data-set using Pyspark

I am new to Python and stuck with building a hierarchy out of a relational dataset. It would be of immense help if someone has an idea on how to proceed with this. I have a relational data-set with data like _currentnode, childnode_ root, …
Vardhan
  • 402
  • 5
  • 13
9
votes
1 answer

Logger hierarchy and the root logger when logging with multiple modules

I have this setup: main.py /module /module/__init__.py (empty) /module.py And here is the code for my two files, main.py and module.py respectively: main.py import logging from module import module logger = logging.getLogger(__name__) def…
Mike
  • 504
  • 7
  • 23
9
votes
2 answers

Flutter - prevent tap/click events from being passed through view hierarchy

I'm looking for the best way to stop tap/click events from being propagated up the view hierarchy. Suppose we have a simple scenario with a TextField decorated with a an 'X' clear text button. When I click the "X" button the click event is…
9
votes
3 answers

Annotated Android Class Hierarchy

For the life of me, I can't see the "big picture". Every time I think I learned something about Android, a new class pops up in some sample/example code. True, I can look it up in the (terse) formal reference, but I need something additional: A…
an00b
  • 11,338
  • 13
  • 64
  • 101
9
votes
1 answer

Symfony2 recursive query builder

I am having a data-table which contains media,docs,pdfs and folders list. Same as Google Drive, I want to show breadcrumb at the top of the data-table. The data-table reflects the changes when clicks on any folders through jQuery. All things are…
Yash Parekh
  • 1,513
  • 2
  • 20
  • 31