Skip to content

Commit

Permalink
✨ Really beginning work on TSP now
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalpaudel committed Nov 1, 2023
1 parent e792f14 commit 5dda289
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/searchViz/Game.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ def set_screen(self):
_txt = self.font.render(f"searchViz: {self.mode_iteration}", 1, (255, 255, 255))
self.screen.blit(_txt, (10, 10))

pg.display.flip()

def run(self) -> None:
last_time = pg.time.get_ticks()
self.mode.draw_graph(self.graph_surf)
Expand All @@ -121,4 +119,6 @@ def run(self) -> None:
self.mode_iteration += 1
last_time = cur_time

pg.display.flip()

pg.quit()
4 changes: 2 additions & 2 deletions src/searchViz/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@


# Search configuration
SEARCH_METHOD = "bfs" # depthfirstsearch
SEARCH_METHOD = "dfs" # depthfirstsearch
SEARCH_RATE = 1

# Graph configuration
NUM_NODES = 2500
NUM_NODES = 5000
NODE_RADIUS = 2


Expand Down
Empty file.

0 comments on commit 5dda289

Please sign in to comment.