iamaya2 / MatHH

A Matlab-based Hyper-Heuristic framework
MIT License
6 stars 1 forks source link

Updating Features and Solvers #42

Closed alonsovelam closed 2 years ago

alonsovelam commented 2 years ago

if I initialize a HH with certain number of features or solvers, the available features of solvers do not updates.

Captura de Pantalla 2022-03-25 a la(s) 10 14 16 Captura de Pantalla 2022-03-25 a la(s) 10 14 30
iamaya2 commented 2 years ago

Checked the code and it is intended behavior. The idea is to first use the assignFeatures and assignSolvers methods to fix the IDs that will be used (numbers are auto-updated as well). Then, you shall use initializeModel to generate a random solution. Will update this method to only use nbRules, to avoid confusions.