https://github.com/dob9601/hashcode-2021-qualifier
Hashcode 2021 qualification round simulator and a variety of solvers.
https://github.com/dob9601/hashcode-2021-qualifier
hashcode hashcode-2021 qualification-round
Last synced: 7 months ago
JSON representation
Hashcode 2021 qualification round simulator and a variety of solvers.
- Host: GitHub
- URL: https://github.com/dob9601/hashcode-2021-qualifier
- Owner: dob9601
- Created: 2021-02-26T16:18:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-12T03:19:34.000Z (almost 5 years ago)
- Last Synced: 2025-06-06T21:43:13.724Z (7 months ago)
- Topics: hashcode, hashcode-2021, qualification-round
- Language: Python
- Homepage:
- Size: 2.65 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hashcode-2021-qualifier
Hashcode 2021 qualification round simulator and a variety of solvers.
Simulator is 100% accurate (tested against the hashcode simulator at the time of the event)
## Solvers
Included are a variety of solvers:
- GeneticSolver: A genetic algorithm approach for solving hashcode. Utilises a Redis server to distribute the workload across multiple machines. `redis_worker.py` should be run to consume tasks from this server
- ActiveStreetSolver: A simple solver that sets the traffic light timings to be even on all streets with cars traveling on them at some point
- BusiestPrioritySolver: Same as the ActiveStreetSolver but weighted towards streets with more cars.
## Scores at the end of the extended round
A: 2002
B: 4,566,388
C: 1,298,723
D: 1,706,203
E: 1,366,761