ringSources[i]: the inputs whose segments carry edge i, from ring[i] to ring[i + 1] (the last to ring[0]).
ringSources[i]
i
ring[i]
ring[i + 1]
ring[0]
final List<Set<Handle>> ringSources;