A general approach to deriving diagnosability results of interconnection networks*