Skip to content

How to retrieve the size of the largest cluster formed by the decoder? #72

@RefaatIsmail

Description

@RefaatIsmail

Hi, this is more of question rather than an issue, I am posting it here so other users can potentially benefit as well.

I know setting cluster_node_limit to 50 for example forces decoder to use UnionFind when the biggest cluster reaches 50 (please correct me if I am wrong).

Is there an existing method or field on the solver (or within the decoder API) that lets me extract the size of the largest cluster of nodes after decoding?

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