Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > "tree", "lattice", "net"...

"tree", "lattice", "net"...
Thread Tools
Senior User
Join Date: Feb 2001
Location: Rochester, uk
Status: Offline
Reply With Quote
Dec 12, 2001, 05:22 AM
 
I'm looking for a word to describe the relationship between items. It's vaguely tree-like, in that one element is a member of another, but it's not exclusive in the way that a tree is. One element can has many members, but also one element can be a member of any other.

It's not a lattice because there's no fixed regularity in it. And it's not just a loose network because it does keep some items 'above' others - there shouldn't be any loops in it.

As an example: Egypt is a member of Africa, and it's also a member of the Middle East. Both are members of the World. Each element is on its own tier, so you can't have loops, but it's not a strict tree.

Any ideas? Programming language is irrelevant, human languages less so but if it's a good word i'll consider it.
All words are lies. Including these ones.
     
Grizzled Veteran
Join Date: Sep 2000
Location: Springfield, MA
Status: Offline
Reply With Quote
Dec 12, 2001, 10:14 AM
 
In graph theory, an acyclic graph is called a forest. A tree is a special case of forest that is connected (or think of it the other way, a forest is a graph that contains multiple trees).
We hope your rules and wisdom choke you / Now we are one in everlasting peace
-- Radiohead, Exit Music (for a film)
     
tie
Professional Poster
Join Date: Feb 2001
Status: Offline
Reply With Quote
Dec 12, 2001, 01:23 PM
 
Partial order is the name of the relationship. Lattice is the correct name for the induced graph (despite the possible lack of regular structure).
The 4 o'clock train will be a bus.
It will depart at 20 minutes to 5.
     
sadie  (op)
Senior User
Join Date: Feb 2001
Location: Rochester, uk
Status: Offline
Reply With Quote
Dec 13, 2001, 04:40 AM
 
tie chimed in with:
<STRONG>Lattice is the correct name for the induced graph (despite the possible lack of regular structure).</STRONG>
Are you sure? I thought that a lattice was...

dictionary.com
<STRONG>an arrangement of points or particles or objects in a regular periodic pattern in 2 or 3 dimensions</STRONG>
ne? Buf if you are sure I'll gladly use it.
All words are lies. Including these ones.
     
sadie  (op)
Senior User
Join Date: Feb 2001
Location: Rochester, uk
Status: Offline
Reply With Quote
Dec 13, 2001, 05:03 AM
 
Hang on:

Merriam-Webster, www.m-w.com
<STRONG>Lattice: a mathematical set that has some elements ordered and that is such that for any two elements there exists a greatest element in the subset of all elements less than or equal to both and a least element in the subset of all elements greater than or equal to both.</STRONG>
If you apply that to the tree-like structure I'm thinking of, then i'm not sure it does fit. For example, using the words 'child/parent' for simplicity (!):
  • Imagine two elements A and B that are siblings (ie, neither of them is an ancestor or descendent of the other).
  • Element A has two children, C and D. Element B has two children, E and F. You may need to start drawing this.
  • Element G is a child of both C and E. Element H is a child of both D and F. Now imagine that no other nodes exist.
  • Therefore, elements G and H are both descended from both A and B. But they are siblings - neither of them is descended from the other.
  • In more math-like terms, G and H are elements of the subset of A and B. But neither G nor H can be defined as being 'greater than' the other - there is no specified ordering on them.
  • Hence, there is no <STRONG>"greatest element in the subset of all elements less than or equal to both"</STRONG> A and B.

So, while it could be a partially ordered set, it can't be a lattice. Comprende? Or have i misunderstood?

[ 12-13-2001: Message edited by: sadie ]
All words are lies. Including these ones.
     
tie
Professional Poster
Join Date: Feb 2001
Status: Offline
Reply With Quote
Dec 13, 2001, 12:51 PM
 
Originally posted by sadie:
<STRONG>Merriam-Webster, www.m-w.com
Lattice: a mathematical set that has some elements ordered and that is such that for any two elements there exists a greatest element in the subset of all elements less than or equal to both and a least element in the subset of all elements greater than or equal to both.</STRONG>
The dictionary.com definition is completely wrong. I think "complete lattice" is the correct term for what MW describes. Mathematicians still use lattice to describe the graph of any partially ordered set; see, e.g., http://mathworld.wolfram.com/Lattice.html .
The 4 o'clock train will be a bus.
It will depart at 20 minutes to 5.
     
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Dec 13, 2001, 12:57 PM
 
Well, we all know better than to look at m-w or dict.com for exact math definitions!
http://mathworld.wolfram.com/
"Against stupidity, the gods themselves contend in vain" (Schiller)
     
sadie  (op)
Senior User
Join Date: Feb 2001
Location: Rochester, uk
Status: Offline
Reply With Quote
Dec 14, 2001, 03:04 AM
 
Well, sorry. If i knew all this in advance, I wouldn't have to ask!
All words are lies. Including these ones.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:03 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2