Streaming Time Series Summarization Using User-Defined Amnesic Functions