Applying Artificial Intelligence Planning To Optimise Heterogeneous Signal Processing For Surface And Dimensional Measurement Systems