Skip to content

Switching siftup() and siftdown() #21

@burnsa2024

Description

@burnsa2024

In the update weight function in the random selector files, the main version currently incorrectly sifts up when the new weight is smaller, and sifts down when it is bigger. This seems to be incorrectly maintaining the heap, and would need to be changed to improve heap performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions