Binary path-counting gadget

ID: binary-path-counting-gadget

A binary path-counting gadget replaces an edge of nonnegative integer weight by a zero-one directed graph with exactly routes from its entrance to its exit. Repeated doubling and conditional addition follow the binary expansion of using only linearly many vertices in its bit length.

New to topics? Read the docs here!