diff --git a/search.py b/search.py index c8885a9ed..74365b535 100644 --- a/search.py +++ b/search.py @@ -449,7 +449,7 @@ def __call__(self, percept): if self.s is not None: if s1 != self.result[(self.s, self.a)]: self.result[(self.s, self.a)] = s1 - unbacktracked[s1].insert(0, self.s) + self.unbacktracked[s1].insert(0, self.s) if len(self.untried[s1]) == 0: if len(self.unbacktracked[s1]) == 0: self.a = None @@ -827,7 +827,7 @@ class GraphProblemStochastic(GraphProblem): def result(self, state, action): return self.graph.get(state, action) - def path_cost(): + def path_cost(self): raise NotImplementedError pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy