Algorithm 1 TVD |
Input: , : two time sequential synopses μ: adjusting parameter Output: : distance value 1: Length of sequential synopses: 2: Manhattan distance of and : 3: Maximum Manhattan distance: 4: Vector of the difference of and : 5: , where 6: for in do 7: 8: 9: 10: if then 11: 12: end if 13: end for 14: 15: 16: 17: return |