Closed-form similarity measurement for on/off time patterns, represented has arrays of integers.