Skip to content

Slight Optimization for finding lowest F Cost.#6

Open
JBobda wants to merge 1 commit intoDevonCrawford:masterfrom
JBobda:master
Open

Slight Optimization for finding lowest F Cost.#6
JBobda wants to merge 1 commit intoDevonCrawford:masterfrom
JBobda:master

Conversation

@JBobda
Copy link

@JBobda JBobda commented Oct 25, 2018

Hi, came from your YouTube video about this project. I've been a long time fan of your channel and I thought that I could contribute something so here you go! This is my first Pull Request so if I am missing something please let me know, but I wanted to start on something easy so I could get into the process of contributing to other people's repositories.

-Removed some unnecessary imports
-Added Selection sort to the Sort class
-Changed lowest F Cost method to use selection sort rather than bubble sort because selection is technically more efficient.

… sort method to the sort class to make the find lowest F cost method more efficient. I should have probably just fixed your quicksort method... but I didn't know that off the top of my head so I just went with selection sort. Lel. Also... 8 space tabs?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant