Agent-based Approach to Retrospective Analysis of Aviation Accidents