deltakit.core.decoding_graphs.OrderedDecodingEdges.as_bitstring#
- OrderedDecodingEdges.as_bitstring(edges: Sequence[EdgeT]) list[Literal[0, 1]]#
Convert given edges to a bitstring representation of len(edges) bits from condition of each edge inside _decoding_edges.
- Parameters:
edges (Sequence[EdgeT]) – Edges to be converted to bitstring .
- Returns:
Bitstring of whether each edge is in _decoding_edges.
- Return type:
List[Bit]