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

Re: Ordering of Blocks based on Input/Output

Subject: Re: Ordering of Blocks based on Input/Output
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Thu, 10 May 2001 11:03:18 +0100
Re:  Ordering of Blocks based on Input/Output

Dave Gomboc wrote:
> 
> [snip]
> 
> I'm not sure if you're aware that you're asking for what's known as a
> "topological sort" (a web search on this will find you a lot of stuff on
> it).  I'll leave the XSLT implementation to others :-) but you should
> know that an efficient solution has linear complexity: O(m+n) where m is
> the number of edges and n is the number of nodes in the graph.  In
> English :-), if the problem size doubles, the time to find a topological
> sort should only double as well.
> 
Thanks for the efficiency info. It's nice to know one dimension of what
we're aiming for.

The suggested search for "topological sort" reveals that, well, there
ain't nothing new under the sun. And apparently xsl-list can have a
slightly short memory... There's a solution by Joerg Pietschmann at

http://www.biglist.com/lists/xsl-list/archives/200101/msg00161.html

followed by a most interesting discussion between him and one Jeni
Tennison about how best to optimise it ...

Francis.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.