[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlaplus] Question about the order of evaluation.




VARIABLES x

Init == /\ x = 1

Next == /\ PrintT("{") /\ PrintT(x) /\ x' = 2 /\ PrintT(x') /\ PrintT("}")


Below is the output for BFS. It makes sense to me. 

"{"

1

2

"}"


"{"

2

2

"}"


But why the output is different with DFS? Why have "{12}" is printed twice? Anyone can explain to me? Thanks.

"{"

1

2

"}"


"{"

1

2

"}"


"{"

2

2

"}"

--
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/5d834c71-b474-4820-a08c-a0fda7350770%40googlegroups.com.