Trajectory Modeling using Generative Approaches for Scheduling, Planning, and Multi-Agent Systems