A complex networks approach to designing resilient system-of-systems