Lusztig's piecewise-linear function is of interest because it appears to be related to a description of the canonical basis of the quantized enveloping algebra U^+(sl_{n+1}).
REFERENCES
J. W. Cockerton, "Canonical bases and piecewise-linear combinatorics", Ph.D., Warwick, 1995