localuf.decoders.buf¶
Classes
|
The graph used by Bucket UF. |
- class localuf.decoders.buf.BUF(code, dynamic=False, inclination='default')[source]¶
Bases:
UFThe graph used by Bucket UF.
Extends
decoders.UF.Attributes:
mvlan integer of the minimum vision length ofall active clusters at the start of a growth round.
Methods:
_update_mvl._demote_cluster.
Overriden attributes:
bucketsreplacesactive_clustersand maps each integerto a set of all active clusters whose vision length is that integer. It is important that its keys is in ascending order as it is used by
_update_mvl().
Overriden methods:
reset.load.validate_syndrome._merge._update_self_after_union.
- Parameters:
code (Code)
dynamic (bool)
inclination (Literal['default', 'west'])
- reset()[source]¶
Factory reset.
- Parameters:
no_boundaries – whether to treat all boundary nodes as detectors too.