Isaac Breen
Weighted GSS presentation lab

In a nutshell

Suppose we construct a weighted GSS from three stacks:

Hover or focus a stack to trace its path through the graph.

stacks = [    ([0, 5, 8, 9, 12, 18, 31], p),    ([0, 5, 8, 14, 27, 31], p),    ([0, 4, 13, 15, 27, 31], q),];
WeightedGSS.from_stacks(stacks)
Weighted graph-structured stack Three weighted stacks compressed into shared upper and lower graph structure.

A normal graph-structured stack represents a set of stacks while storing shared structure only once. A weighted GSS does the same thing, but associates one additional value with each complete stack.