Skip to content
This repository has been archived by the owner on Sep 29, 2019. It is now read-only.

Project AD fontes for Algorithms and Data Structure course. Task of optimizing from Hash Code.

Notifications You must be signed in to change notification settings

sofiia-tesliuk/Loon_HashCode_2015

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loon Hash Code 🎈 2015

Project AD fontes for Algorithms and Data Structure course. Task of optimizing from Hash Code.

There are 4 algorithms.

Algorithm name % of coverage
Al#4 random, but when reached target cell, stay near 26.59
Al#3 random choice 24.58
Al#1 best current choice 3.34
Al#2 best deep choice (5 steps) 2.27

Algorithm 1: best current choice

Final score: 14 023, which corresponds to 3.34 % coverage.
Satellites in simulation: 49, from 53, which correspond to 92.45%. picture alt

Algorithm 2: best deep choice (5 steps)

Final score: 9 552, which corresponds to 2.27 % coverage.
Satellites in simulation: 2, from 53, which correspond to 3.77%. picture alt

Algorithm 3: random choice

Situation depends on random :)
Final score: 103 231, which corresponds to 24.58 % coverage.
Satellites in simulation: 38, from 53, which correspond to 71.7%. picture alt

Algorithm 4: random, but when reached target cell, stay near

Final score: 111 661, which corresponds to 26.59 % coverage.
Satellites in simulation: 35, from 53, which correspond to 66.04%.

Another result (Just because result depend on random).
Final score: 97 467, which corresponds to 23.21 % coverage.
Satellites in simulation: 33, from 53, which correspond to 62.26%.
picture alt

As we can see, greedy algorithms as #1 and #2, can be improved with deeper looking and debugging situation,
when 🎈 just getting lost somewhere in the ocean.

Project team

Sofiia Tesliuk Volodymyr Lavrushko

About

Project AD fontes for Algorithms and Data Structure course. Task of optimizing from Hash Code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published