Jirka Sejkora
|
7c3893834e
|
Add the initial database
|
4 years ago |
Jirka Sejkora
|
d60dee1772
|
Small changes to subcity runner; used ranges
|
4 years ago |
Jirka Sejkora
|
2e3a31612b
|
New parameters for gen
|
4 years ago |
Jirka Sejkora
|
4b19801594
|
Add an option to merge first before moving single houses
(seems to be fairly useless and it's slower)
|
4 years ago |
Jirka Sejkora
|
c6676c6681
|
Allow loading the DB without loading the merge bounds.
There are so many that it's a waste of memory and time to load those if they are not needed.
|
4 years ago |
Jirka Sejkora
|
012b079e46
|
Fix combine not retrying the same axis multiple times
|
4 years ago |
Jirka Sejkora
|
287f799b69
|
Optimize combines by storing the closest house in a direction.
This is a huge speedup. It's equivalent to using prefix sums. Needs a lot of memory.
|
4 years ago |
Jirka Sejkora
|
f207d61455
|
Optimize combines by using a lookup table for layout pairs
This is significantly faster than having to go through lower bound hash tables all the time (20% of time was spent in there).
|
4 years ago |
Jirka Sejkora
|
bcd3818929
|
Fix combine bound axis not being part of primary key
This did not impact results, as it only resulted in looser bounds and some bounds not being stored.
|
4 years ago |
Jirka Sejkora
|
c8dc4e064d
|
Add time output to the bot
|
4 years ago |
Jirka Sejkora
|
8e94bcccb4
|
Add a bot for one-upping solutions from the leaderboard
|
4 years ago |
Jirka Sejkora
|
9b02c0799a
|
Add a way to merge subcity improvements into the main city
|
4 years ago |
Jirka Sejkora
|
58c35762a2
|
Add subcity optimization
|
4 years ago |
Jirka Sejkora
|
083d6a97b9
|
Add in-memory only databases
|
4 years ago |
Jirka Sejkora
|
f694e4701a
|
Allow Cities of any sizes
This will be useful for optimizing parts of the map independently.
|
4 years ago |
Jirka Sejkora
|
109b5fac01
|
Add proper last step checks to layout gen
|
4 years ago |
Jirka Sejkora
|
ab772f0a31
|
Increase the top layout count for combination attempts
|
4 years ago |
Jirka Sejkora
|
b629369169
|
Remove spammy prints
|
4 years ago |
Jirka Sejkora
|
affb99472c
|
Cache lowest bounds for combining pairs
|
4 years ago |
Jirka Sejkora
|
3facf2f297
|
Cache by last updates of left and right side instead of just coord
|
4 years ago |
Jirka Sejkora
|
dacb278ef3
|
Add a cache; only try combining while merges lower price
|
4 years ago |
Jirka Sejkora
|
148f59010e
|
Stop combining if finished, update layouts between x and y
|
4 years ago |
Jirka Sejkora
|
2b08da0809
|
Combining forever; adding to DB
|
4 years ago |
Jirka Sejkora
|
63ed9e7fe0
|
Horizontal cuts (through transpose)
|
4 years ago |
Jirka Sejkora
|
dfedf7b3ae
|
Start combining from best pairs, stop at cheapest valid
|
4 years ago |
Jirka Sejkora
|
751e0d81ff
|
Vertical combines
|
4 years ago |
Jirka Sejkora
|
5b10766ab9
|
Combination early implementation (vertical line)
|
4 years ago |
Jirka Sejkora
|
b3cf776618
|
Do not redo steps that would not improve the solution
|
4 years ago |
Jirka Sejkora
|
71aaabdec4
|
Print house count at start
|
4 years ago |
Jirka Sejkora
|
9bd654a8e6
|
Draw from the layout DB
|
4 years ago |
Jirka Sejkora
|
d4093d6000
|
Fix swapped x and y in log import
|
4 years ago |
Jirka Sejkora
|
8e526c8c17
|
Add a tool for importing logs to the DB
|
4 years ago |
Jirka Sejkora
|
e819099f92
|
Add an SQLite DB for layouts
|
4 years ago |
Jirka Sejkora
|
f64d0c3c98
|
Dual move optimization (WIP, useless?)
|
4 years ago |
Jirka Sejkora
|
28567a0b3f
|
Split into multiple modules
|
4 years ago |
Jirka Sejkora
|
5ee3f236be
|
Pairwise merging; cleanup
|
4 years ago |
Jirka Sejkora
|
2d1b76cd6e
|
Remove unnecessary prints
|
4 years ago |
Jirka Sejkora
|
9fda072a13
|
Optimize candidate search
|
4 years ago |
Jirka Sejkora
|
ce4d26ec67
|
Introduce rectangles
|
4 years ago |
Jirka Sejkora
|
d6fd306c61
|
Optimized with a maintained HouseLayout
|
4 years ago |
Jirka Sejkora
|
a01fa30954
|
Randomized improvements, finding best
Takes best close house to a random house
|
4 years ago |
Jirka Sejkora
|
3d17279613
|
Randomized improvements
Randomly choose one close cheaper house and try to move there.
|
4 years ago |
Jirka Sejkora
|
748d9eaacd
|
Random generation
|
4 years ago |
Jirka Sejkora
|
0a273d6594
|
Random generation
|
4 years ago |