Skip to content

OptimTemplates v1.2.0

Choose a tag to compare

@ToKiNoBug ToKiNoBug released this 18 Jan 09:17
· 390 commits to main since this release

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::srand automatically with a time-based hash value.

Changes:

  • Replace OPTIMT_MAKE_GLOBAL with OptimT_MAKE_GLOBAL
  • Make randD global functions instead a static member of class 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_device on 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.