You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pseudocode for Online DFS Agent contains line else a ← an action b such that result[s', b] = POP(unbacktracked[s']). I see that it is not consistent with python implementation here.
else:
# else a <- an action b such that result[s', b] = POP(unbacktracked[s'])unbacktracked_pop=self.unbacktracked.pop(s1)
for (s, b) inself.result.keys():
ifself.result[(s, b)] ==unbacktracked_pop:
self.a=bbreak
which implies we are getting an action where result[s,b](result of s instead of s') =POP(unbacktracked[s'])
The text was updated successfully, but these errors were encountered:
masterchef2209
changed the title
Inconsistency in Online DFS AGENT pseudocode and python implementation
Inconsistency in Online DFS AGENT(aima3e Fig.4.21) pseudocode and python implementation
Nov 13, 2019
The pseudocode for Online DFS Agent contains line
else a ← an action b such that result[s', b] = POP(unbacktracked[s'])
. I see that it is not consistent with python implementation here.which implies we are getting an action where result[s,b](result of s instead of s') =POP(unbacktracked[s'])
The text was updated successfully, but these errors were encountered: