Python Forum
Problem in a path finding algorithm (counter is not working)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem in a path finding algorithm (counter is not working)
#4
It is worse because you store all the paths, which you don't need to do. That's why I told you to remove set() and list(). The call to itertools.permutations() generates all the paths, but it doesn't store them.
Reply


Messages In This Thread
RE: Problem in a path finding algorithm (counter is not working) - by Gribouillis - Feb-05-2018, 01:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  working directory if using windows path-variable chitarup 2 841 Nov-28-2023, 11:36 PM
Last Post: chitarup
  Floor approximation problem in algorithm gradlon93 3 1,037 Dec-14-2022, 07:48 PM
Last Post: Gribouillis
Big Grin question about simple algorithm to my problem jamie_01 1 1,756 Oct-04-2021, 11:55 AM
Last Post: deanhystad
  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH Led_Zeppelin 1 2,280 Sep-09-2021, 01:25 PM
Last Post: Yoriz
Exclamation Path sacn problem lucky511 10 4,059 Jun-24-2021, 12:09 PM
Last Post: Axel_Erfurt
  Subprocess.Popen() not working when reading file path from csv file herwin 13 15,664 May-07-2021, 03:26 PM
Last Post: herwin
  problem about maze path finder Simurg 2 2,020 Aug-16-2020, 01:10 PM
Last Post: Simurg
  a weired problem after restructing algorithm homepoeple 0 1,611 Jan-15-2020, 06:25 PM
Last Post: homepoeple
  Finding a Hamiltonian Path Efficiently - ADVANCED stauffski 3 6,082 Dec-31-2019, 10:25 PM
Last Post: stauffski
  Finding MINIMUM number in a random list is not working Mona 5 3,179 Nov-18-2019, 07:27 PM
Last Post: ThomasL

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020