>> [CS656/556 Course Materials]
Tue Aug 5 11:45:03 PDT 2003
The Goods Train Problem
A train starts with an engine
and ends with a caboose.
In between the engines and the caboose there
are zero or more carriages.
A two-engined-train has two engines in front
else there is one engine in front.
Express the possible sequences of trains using the
XBNF notation and the given symbols:
- train::=... .
- XBNF::= See http://www.csci.csusb.edu/dick/maths/intro_ebnf.html.
Formulae and Definitions in Alphabetical Order