Artificial Intelligence: A New Synthesis
Artificial Intelligence: A New Synthesis
Machine Learning
Hi-index | 0.00 |
Using Java exceptions as programming constructs in artificial intelligence algorithms is presented. Exceptions are originally provided for erroneous case handling by the Java language specification. Although it has been advised not to use exceptions for purposes other than error handling, here we have shown that exceptions can be used in certain situations, to increase the expressiveness of the language. Secondly, the advantages of incremental program design using object oriented schemes are given. An agent architecture project is presented with the emphasis on the incremental development and reuse of previous modules. It is shown that complicated behaviour can be obtained by making design decisions which will let generalize the function of created modules, allowing them to be reused for future developments and possible improvements.