An efficient approach to mine flexible periodic patterns in time series databases. (September 2015)