A Cognitive-Based Trajectory Prediction Approach for Autonomous Driving