Driving intention recognition and behaviour prediction based on a double-layer hidden Markov model | Synapse