llrastegar / Cube

A collection of projects, exercises, and brainstorms
2 stars 0 forks source link

cache.h function implementation #2

Closed llrastegar closed 7 years ago

llrastegar commented 7 years ago

There are two functions in cache.h that have not been implemented. They are obviously vital, called calculateRelativeScore() and calculateTotalScoreForEntries(), located in the entries class and cache class respectively. They both need to be implemented using some fragment of the scoring function invented in Ideas.txt. Note that a cache does not hold all relevant possible entries, but rather all relevant possible entries of the same length. All relevant possible entries would be held in a container class which it may be redundant to create.