Multimodal trajectory prediction based on dynamic scene encoding and relational reasoning | Synapse