Algorithmic Aspects of Analysis, Prediction, and Control in Science and Engineering: An Approach Based on Symmetry and Similarity