after having read the algorithm Enumeration-Ask (chapter 14) it seems to me that
it will only work if the function VARS[BayesNet] returns the variables in order.
For instance it works if the first variable returned is Earthquake. But it
wouldn't work if it was Alarm.
I wonder if I have missed the explanation in the book, I have made a
mistake in the thought above, or is something obvious. In the last case I think,
for readers like me, that an explicit explanation could help.
I have take a look at the Java code and it seems that the function VARS orders
the variables appropriately.
Ivan F. Villanueva B.
The dream of intelligent machines: www.artificialidea.com
Encrypted mail preferred.
GPG Key Id: 3FDBF85F 2004-10-18 Ivan-Fernando Villanueva Barrio