Routing algorithm of AFDX network based on trajectory approach