-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop #115
Merged
Merged
Develop #115
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…rmin the corner distance calculation
…mputed accuratly now
downgrade numpy to 1.19.3 for windows users
Rewrote add_cost function: - Changed open disk to closed disk (add 0.001~) - Removed bounds safety check (disk should already do this) - Changed order of safe/np.any call to improve performance Changed all input from ints to floats for better accuracy
# Conflicts: # MapAnalyzer/Pather.py
* first version of astar in c * temporary things for comparing pathfinding perf * fix weight checks for nodes * first version of overlord spots * add cmapinfo to map_data object * temporary function to get the new climber grid * small cleanup * first attempt at choke detection, still some bugs * threshold so chokes don't get removed from few overlapping pixels * small fixes * change test function names * change pathlib choke to cmapchoke in constructs * first version of path smoothing * remove sc2pathlib references, use only c extension * remove hanging pathlib reference * adding comments to extension * removing pathlibchokes * add docs, remove stuff from choke init that is set in the parent class * changing the way ramp sides are calculated for chokes * fix wrapper init file * moving raw chokes into their own class * fix typo * remove strange roundabout calls * don't use broken ramp data some ramps have broken data in burnysc2 (same top_center and bottom_center) for instance. by filtering them away they get detected as regular chokes instead if they are real * fixing ramps coming from burnysc2 * small tweaks and comments * small fix * int cast fix * add a dummy test for the c extension * changing memory management, remove stretchy buffer dependency * fixing missing max and min definitions on linux * remove ephemeronLE from the test maps for now * remove stretchy buffer * remove sc2pathlib * changing cext functions to default, removing old test and making a new one
* Fix crash on python3.9 * Update constructs.py
… in c code (#113) * first version of astar in c * temporary things for comparing pathfinding perf * fix weight checks for nodes * first version of overlord spots * add cmapinfo to map_data object * temporary function to get the new climber grid * small cleanup * first attempt at choke detection, still some bugs * threshold so chokes don't get removed from few overlapping pixels * small fixes * change test function names * change pathlib choke to cmapchoke in constructs * first version of path smoothing * remove sc2pathlib references, use only c extension * remove hanging pathlib reference * adding comments to extension * removing pathlibchokes * add docs, remove stuff from choke init that is set in the parent class * changing the way ramp sides are calculated for chokes * fix wrapper init file * moving raw chokes into their own class * fix typo * remove strange roundabout calls * don't use broken ramp data some ramps have broken data in burnysc2 (same top_center and bottom_center) for instance. by filtering them away they get detected as regular chokes instead if they are real * fixing ramps coming from burnysc2 * small tweaks and comments * small fix * int cast fix * add a dummy test for the c extension * changing memory management, remove stretchy buffer dependency * fixing missing max and min definitions on linux * remove ephemeronLE from the test maps for now * remove stretchy buffer * remove sc2pathlib * changing cext functions to default, removing old test and making a new one * adjusting small things in pathfinder * adding overlord drawing * fix bug in choke sides * fix exception text * test that for each choke a main line actually exists * fix name
Directly evaluates set of points in numpy array instead of creating a whole new map grid to compare against Cost is floored to int
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.