Foundations of neural networks, fuzzy systems, and knowledge engineering