Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 613 Bytes

File metadata and controls

11 lines (8 loc) · 613 Bytes

Genetic_Algorithm

C# algorithm based on Genetic Algorithm

Problem description:

In the computer game, the character has collected 5000 coins. He falls into a cave where he meets an artifact merchant. The merchant sells N a number of different artifacts (magic bow for precision shooting, fast boots, etc). Each artifact has a price in gold and a value of how important it is to the character. The algorithm has to find the items the hero needs to buy according to the table below: