Skip to content

Implement UpdaterCovarAdaptation::setSubMatrices to mimic parallel optimization #59

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(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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