Skip to content
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 32 commits into from
Dec 27, 2020
Merged

Develop #115

merged 32 commits into from
Dec 27, 2020

Conversation

eladyaniv01
Copy link
Owner

No description provided.

eladyaniv01 and others added 30 commits September 21, 2020 21:42
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
shostyn and others added 2 commits December 27, 2020 15:04
Directly evaluates set of points in numpy array instead of creating a whole new map grid to compare against
Cost is floored to int
@eladyaniv01 eladyaniv01 merged commit f2d82ad into master Dec 27, 2020
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.

3 participants