deltakit.core.decoding_graphs.EdgeRecord#
- class deltakit.core.decoding_graphs.EdgeRecord(p_err: float = 0.0, **kwargs)#
Bases:
UserDictDictionary for recording information about an edge. String attributes for arbitrary values. Error probability given as special data that is always defined.
- Parameters:
p_err (float, optional) – Probability of the error mechanism, by default 0.0.
Methods#
D.clear() -> None. |
|
Create a EdgeRecord from a given property dict of optional values. |
|
Create a EdgeRecord from a loglikelihood weight rather than a p_err. |
|
D.get(k[,d]) -> D[k] if k in D, else d. |
|
D.items() -> a set-like object providing a view on D's items |
|
D.keys() -> a set-like object providing a view on D's keys |
|
D.pop(k[,d]) -> v, remove specified key and return the corresponding value. |
|
D.popitem() -> (k, v), remove and return some (key, value) pair as a 2-tuple; but raise KeyError if D is empty. |
|
D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D |
|
D.update([E, ]**F) -> None. |
|
D.values() -> an object providing a view on D's values |