From Lesta@t-online.de  Wed Dec  6 01:01:43 2000
Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id BAA10708
	for <prolog@swi.psy.uva.nl>; Wed, 6 Dec 2000 01:01:43 +0100 (MET)
Received: from fwd02.sul.t-online.com 
	by mailout03.sul.t-online.com with smtp 
	id 143S1t-0005PD-01; Wed, 06 Dec 2000 01:01:49 +0100
Received: from t-online.de (05121269112-0001@[62.226.102.184]) by fwd02.sul.t-online.com
	with esmtp id 143S1s-10vRtgC; Wed, 6 Dec 2000 01:01:48 +0100
Message-ID: <3A2D81C8.467EE7EF@t-online.de>
Date: Wed, 06 Dec 2000 01:01:12 +0100
From: Lesta@t-online.de (Uwe Lesta)
Organization: Lesta
X-Mailer: Mozilla 4.7 [de]C-DT  (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: "Richard A. O'Keefe" <ok@atlas.otago.ac.nz>,
        swi prolog mailing list <prolog@swi.psy.uva.nl>
Subject: Re: How to construct a tree from a given structure and elements
References: <200012052156.KAA11934@atlas.otago.ac.nz>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: 05121269112-0001@t-dialin.net

"Richard A. O'Keefe" schrieb:
 
>         > How is the order of a node's children to be determined?
> 
>             There is no order of the children.
> 
> No, the children of a tree represented by a Prolog term
> cannot help but be in *some* order.  

Sure, you are right. At a specific time every thing is in a order
even we could't see it.

> If the problem does not
> specify a natural order, is there something about the processing
> that suggests a natural order (perhaps ascending or descending
> order of weight?), or would any arbitrary order suffice?

In my mind the order of construction is a good (and natural) one, 
but any order would suffice. The question of order depends on the
reason to look at a tree.

Think of a hierarchic computer network. 
The administrator likes a view in the order of adress ranges.
The manager search by names and
the programmer like to see the machine with maximum resources first.

But most important is stability and expansion. 
So weight balanced is the main goal.

In my opinion the definition of weight is more important also
to describe it explicit. Assume the weight is described by
the green_points or by max_childs or any combination of red_
and green_points and max_childs. 

-- 


Regards

Uwe
Lesta@t-online.de

