-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
cluster_node_limit
for MWPF decoder to better tune decoding tim…
…e and accuracy (#857) This is a new parameter that is agnostic to individual machine's clock speed. We limit the maximum number of dual variables inside each cluster to avoid wasting computing time on small yet complicated clusters. A default value of 50 is good enough for small code and improves the decoding speed a lot. Intuitively (but not precisely), this means we limit the maximum number of dual variables (blossoms and their children) in an alternating tree to 50, and once it hits this limit, it will fall back to union-find decoder. Of course, in hypergraph cases, the situation is a little bit more complicated and this limit is hit more often.
- Loading branch information
Showing
2 changed files
with
25 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters