Assumptions
I fix transition counts, endpoints and a nonsingular branch. I rebuild the minor when a state is removed.
Result
I use a rank-one determinant and adjugate update for Whittle weights. XIII reports roughly 443 ms versus 15.2 s on one eight-state, 4,096-symbol case. Updates are quadratic in active states in arithmetic operations, excluding initialization and integer size.
Prior work
Whittle, Some Distribution and Moment Formulae for the Markov Chain · Cover, Enumerative source encoding
Next question
Compare with an independent Euler-trail ranking algorithm.
Read the argument and prior work · View supporting evidence