iamaya2 / MatHH

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

Generate usage statistics #34

Closed iamaya2 closed 2 years ago

iamaya2 commented 2 years ago
iamaya2 commented 2 years ago

First item is to be disregarded (at least for now) since information is kept in perfromanceData within ruleBasedSelectionHH, by storing a copy of partially solved instances. Perhaps this should be changed to a single instance and a simple log of steps taken so that the solution can be moved forward/backward without too much computational cost. For now, it shall remain as it is...

iamaya2 commented 2 years ago

Regarding the second item: The method getSolverUsed was added. It returns a vector with the numerical ID of the solvers used at each step, for a given instance. Additionally, the methods plotSolverUsage, plotSolverUsageDistribution, and plotSolverUsageDistributionMulti were added to generate different kinds of plots with this information.

iamaya2 commented 2 years ago

Last item: The information should be retrievable from the performanceData property, but also created the lastSolvedInstances property for ease of access.