[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: After XQuery, are we done?


breadth first search xquery
Hunsberger, Peter wrote:

>Elliotte Harold <elharo@m...> writes:
>  
>
>>Hunsberger, Peter wrote:
>>
>>
>>    
>>
>>>Which still leaves the original question; once you've got a way of 
>>>managing and manipulate graphs, why would you need a way to 
>>>distinguish trees?  What does recognizing the special case get you?
>>>      
>>>
>>Because some things are true of trees which are not true of 
>>all graphs, 
>>the algorithms to process them can be made simpler and/or faster. For 
>>instance, you can do a depth first search or breadth first search 
>>without worrying about cycle detection.
>>
>>    
>>
>
>That's exactly my point, if we ever got to the point where we could
>manage graphs (in general) I don't think you'd need to care about trees
>anymore.  Internally, software might optimize the management of all
>kinds of special cases (not just trees), but if we've got Michaels
>non-instance specific network exchange capability then at an interface
>level you shouldn't care anymore?
>
>  
>
the big difference between a graph and a tree is the "root" node. ie a 
tree has a starting point. second big difference, as noted earlier, is 
that trees don't have cycles. this means that trees match easily with 
the way our brains seem to organise information ("The Maths Gene: Why 
Everyone Has It, But Most People Don't Use It  Keith Devlin 
<http://www.amazon.co.uk/exec/obidos/search-handle-url/index=books-uk&field-author=Devlin%2C%20Keith/202-9947616-2794245>") 


try thinking of an alternate way to express a graph using tags, that is 
also easy to read. and looks like a graph. this is a constraint of one 
dimensional respresentation.

rick

>
>
>-----------------------------------------------------------------
>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
>initiative of OASIS <http://www.oasis-open.org>
>
>The list archives are at http://lists.xml.org/archives/xml-dev/
>
>To subscribe or unsubscribe from this list use the subscription
>manager: <http://www.oasis-open.org/mlmanage/index.php>
>
>
>  
>

begin:vcard
fn:Rick  Marshall
n:Marshall;Rick 
email;internet:rjm@z...
tel;cell:+61 411 287 530
x-mozilla-html:TRUE
version:2.1
end:vcard


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.