deltakit.core.decoding_graphs.unweight_graph#

deltakit.core.decoding_graphs.unweight_graph(decoding_graph: NXDecodingGraph)#

Sets all weights in the given graph to 1 and error probabilities to 1/(1+e) so that they correspond to the weights.

Parameters:

decoding_graph (NXDecodingGraph) – Original decoding to unweight