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
"}"