Skip to content

Implement UpdaterCovarAdaptation::setSubMatrices to mimic parallel optimization #59

@stulp

Description

@stulp

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

bool saveToDirectory(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions