fix indentation
This commit is contained in:
parent
81b4fee904
commit
e6d69705dc
@ -83,7 +83,7 @@ class Env:
|
|||||||
'''
|
'''
|
||||||
Get shortest calcualted path and print it
|
Get shortest calcualted path and print it
|
||||||
'''
|
'''
|
||||||
def print_shortest_path(self, Q: dict): -> None
|
def print_shortest_path(self, Q: dict) -> None:
|
||||||
path = [self.start]
|
path = [self.start]
|
||||||
state = self.start
|
state = self.start
|
||||||
while state!=self.goal:
|
while state!=self.goal:
|
||||||
@ -101,7 +101,7 @@ class Env:
|
|||||||
'''
|
'''
|
||||||
Plot graph
|
Plot graph
|
||||||
'''
|
'''
|
||||||
def plot_graph(self, path: list): -> None
|
def plot_graph(self, path: list) -> None:
|
||||||
node_color = []
|
node_color = []
|
||||||
edge_color = []
|
edge_color = []
|
||||||
edge_width = []
|
edge_width = []
|
||||||
|
Loading…
Reference in New Issue
Block a user