Online safe flight envelope prediction for damaged aircraft: A database-driven approach