Parmeggiani-Lab / elfin-solver

Standard Genetic Algorithm solver for elfin
MIT License
0 stars 0 forks source link

Memoization #1

Open joy13975 opened 5 years ago

joy13975 commented 5 years ago

Memoize score computation, probably using unordered_map<Crc32, float>.

Beware of race conditions under multithread write. Maybe it doesn't matter if identical Crc32 always yields the same min two-way score.

Testing the performance difference using #define flags.