A loss function or scoring metric defined over entire trajectories rather than individual transitions, capturing dependencies across time.