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

RE: Large class of problems: constrain a bunch of piecesto for

  • From: "Ghislain Fourny" <gfourny@inf.ethz.ch>
  • To: Michael Kay <mike@saxonica.com>, "Costello, Roger L." <costello@m...>
  • Date: Tue, 21 Feb 2017 08:03:22 +0000

RE:  Large class of problems: constrain a bunch of piecesto for
Hi Mike,

Yes, this is an example of DAG with A as a source and C as a sink.

I think the rules also do allow "A -> B -> C -> B -> D", which is an example of graph with a cycle but still a single source (A) and sink (D), which is not forbidden by the rules. Or am I missing something?

The rules even seem to allow for several connected components with additional self-contained loops, like

(start: A, end: C)

A -> B
B -> C

D -> E
E -> D

If such is the case, we are forward compatible with the 23rd century. Beam me up, Scotty! :-)

Kind regards,

From: Michael Kay [mike@saxonica.com]
Sent: Monday, February 20, 2017 6:20 PM
To: Costello, Roger L.
Cc: xml-dev@lists.xml.org
Subject: Re: Large class of problems: constrain a bunch of pieces to form a chain

I think those conditions are satisfied by

r.start = A
r.end = C

s1.start = A
s1.end = B

s2.start = B
s2.end = C

s3.start = A
s3.end = C

and I don't think you had that in mind as a valid route (a "single connected chain"). Perhaps your "or" in rules (1) and (2) should be an "exclusive or".

I don't know whether you consider something like A -> B -> C -> B -> D as a valid route. I don't know whether any planes fly such routes but I've certainly been on country bus journeys that followed that pattern. If such routes are legal you may need to revise your rules.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.
First Name
Last Name
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.