The parallel optimization is no longer needed if the covariance matrix updates updates the matrix in submatrices. The simple solution to this would be to have a function UpdaterCovarAdaptation::setSubMatrices(VectorXi), in which the sizes of the submatrices are set, rather than derived from the array of distributions:
|
covar_block_sizes[pp] = distributions[pp].mean().size(); |
The following functions can then be deleted:
|
/** \todo Get rid of runOptimizationParallelDeprecated(), and implement in UpdaterCovarAdapation |
The parallel optimization is no longer needed if the covariance matrix updates updates the matrix in submatrices. The simple solution to this would be to have a function
UpdaterCovarAdaptation::setSubMatrices(VectorXi), in which the sizes of the submatrices are set, rather than derived from the array of distributions:dmpbbo/src/bbo/runOptimization.cpp
Line 112 in ca900e3
The following functions can then be deleted:
dmpbbo/src/dmp_bbo/runOptimizationTask.cpp
Line 227 in ca900e3
dmpbbo/src/bbo/runOptimization.cpp
Line 65 in ca900e3