Weight-string enumeration algorithm (source code)

= Weight-string enumeration algorithm

Start with the <highest weight> and process weights by increasing height below it. For each simple root, compute the upper endpoint from the already known higher weights, use the <weight string> endpoint relation, and append all downward steps. Repeat until the finite set stabilizes. This recovers the weights of a finite-dimensional <Irreducible Lie algebra representation> without determining <weight multiplicities>.