OptimTemplates v1.2.0
Updates:
- New algorithm implementation: NSGA2
- Several static assertions
- Chaos devices (prepared for CGA(chaotic genetic algorithm)
- Replace bool parameters in template with several enumeration types to make code more readable
- Initialize
std::srandautomatically with a time-based hash value.
Changes:
- Replace
OPTIMT_MAKE_GLOBALwithOptimT_MAKE_GLOBAL - Make
randDglobal functions instead a static member ofclass OtGlobal. (old implementation reserved but marked deprecated) - Replace qmake with cmake
- GABase are now more abstract
Bugs fixed:
- Fixed the bug that random numbers aren't random. (Be cautious to use
std::random_deviceon Windows with MingW)
Since qmake has been replaced, there's no need to put an extra zipped file(with qmake project files removed) together with source code. Just download the soure code.
If any problems, don't hesitate to draw me an issue.