Artificial neural networks: Foundations and application to a decision problem