SEQUENTIAL PATTERNS AND MAXIMIZING.