A task decomposition neural network approach to non-destructive testing problems