Abstract
Run-time code (class) generation is a way to develop adaptive intelligent systems, which can dynamically modify their source codes and knowledge bases up to challenges of the working environment. The example of such challenges is a task of integration of new extracted or acquired knowledge into the knowledge base avoiding redundancy of their representation. To execute it effectively the system should be able to analyze and generate (create) new classes of objects dynamically. Therefore algorithms for dynamic creation of new classes of objects via computing the union of homogeneous and inhomogeneous and union of two inhomogeneous classes of objects are proposed in the paper. Proposed algorithms provide an opportunity for knowledge-based systems to generate new classes, which define heterogeneous collections of objects at the run-time; to determine connection between new and previously acquired knowledge; to conclude thematic relevance and connection level of new knowledge with particular theme, category or domain; to integrate new knowledge into the knowledge base. Developed algorithms have quadratic polynomial time complexity and linear space complexity. They can be adapted and integrated into particular object-oriented programming language or knowledge representation model.
Keywords
- Run-time code generation (RTCG)
- Run-time class generation (RTClG)
- Universal union exploiter of classes
- Union of classes
This is a preview of subscription content, access via your institution.
Buying options
Notes
- 1.
When there is no intersection among classes, their union contains only projections of types.
- 2.
Since any projection contains only unique properties and (or) methods of particular type, then a projection level is always equals to 1.
References
Al-Asady, R.: Inheritance Theory: An Artificial Intelligence Approach. Ablex Publishing Corporation, Norwood (1995)
Ashrafi, N., Ashrafi, H.: Object Oriented Systems Analysis and Design, 1st edn. Pearson Education Limited, Harlow (2014)
Booch, G., et al.: Object-Oriented Analysis and Design with Applications, 3rd edn. Wesley, Boston (2007)
Brachman, R.J., Levesque, H.J.: Knowledge Representation and Reasoning. Morgan Kaufmann Publishers, San Francisco (2004)
Bruce, K.B.: Foundations of Object-Oriented Languages: Types and Semantics. The MIT Press, Cambridge (2002)
Craig, I.D.: Object-Oriented Programming Languages: Interpretation. UTCS. Springer, London (2007)
Igarashi, A., Nagira, H.: Union Types for Object-Oriented Programming. In: Proceedings of ACM Symposium on Applied Computing, Dijon, France, pp. 1435–1441, April 2006
Igarashi, A., Nagira, H.: Union types for object-oriented programming. J. Object Technol. 6(2), 47–68 (2007)
Kamin, S.: Routine run-time code generation. ACM SIGPLAN Not. 38(12), 208–220 (2003)
Keppel, D., Eggers, S.J., Henry, R.R.: A case for runtime code generation. Technical report 91–11–04, University of Washington, Department of Computer Science and Engineering, January 1991
Leone, M., Lee, P.: Lightweight run-time code generation. In: Proceedings of ACM SIGPLAN Workshop on Partial Evaluation and Semantics-Based Program Manipulation, Orlando, FL, USA, pp. 97–106 (June 1994)
Meyer, B.: Object-Oriented Software Construction, 2nd edn. Prentice Hall, Santa Barbara (1997)
Mezini, M.: Variational Object-Oriented Programming Beyond Classes and Inheritance. SECS, vol. 470. Springer, Boston (1998)
Murray, K.S.: Learning as knowledge integration. Ph.D. thesis, Faculty of the Graduate School, University of Texas at Austin, Austin, Texas, USA (May 1995)
Murray, K.S.: KI: a tool for knowledge integration. In: Proceedings of the 13th National Conference on Artificial Intelligence, AAAI 1996, Portland, Oregon, USA, pp. 835–842, August 1996
Murray, K.S., Porter, B.W.: Controlling search for the consequences of new information during knowledge integration. In: Proceedings of the 6th International Workshop on Machine Learning, New York, USA, pp. 290–295, June 1989
Murray, K.S., Porter, B.W.: Developing a tool for knowledge integration: initial results. Int. J. Man Mach. Stud. 33(4), 373–383 (1990)
Negnevitsky, M.: Artificial Intelligence: A Guide to Intelligent Systems, 2nd edn. Wesley, Harlow (2004)
Sheard, T.: Accomplishments and research challenges in meta-programming. In: Taha, W. (ed.) SAIG 2001. LNCS, vol. 2196, pp. 2–44. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-44806-3_2
Terletskyi, D.O.: Exploiters-based knowledge extraction in object-oriented knowledge representation. In: Suraj, Z., Czaja, L. (eds.) Proceedins of the 24th International Workshop, Concurrency, Specification & Programming, CS&P 2015, vol. 2, pp. 211–221. Rzeszow University, Rzeszow, September 2015
Terletskyi, D.: Object-oriented knowledge representation and data storage using inhomogeneous classes. In: Damaševičius, R., Mikašytė, V. (eds.) ICIST 2017. CCIS, vol. 756, pp. 48–61. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-67642-5_5
Terletskyi, D.O.: Algorithms for runtime generation of homogeneous classes of objects. In: Proceedings of the International Conference on Cyber Security and Computer Science, ICONCS 2018, Safranbolu, Turkey, pp. 160–164, October 2018
Terletskyi, D.O.: Object-oriented dynamic model of knowledge representation within intelligent software systems. Ph.D. thesis, Faculty of Computer Science and Cybernetics, Taras Shevchenko National University of Kyiv, Kyiv, Ukraine, April 2018
Terletskyi, D.O.: Run-time class generation: algorithms for intersection of homogeneous and inhomogeneous classes. In: Proceedings of the International Workshop on Information Modeling, Data and Knowledge Engineering, IWIMDKE 2019, Lviv, Ukraine, September 2019. This Workshop is a Part of XIV International Scientific and Technical Conference Computer Science and Information Technologies. http://csit.lp.edu.ua/
Terletskyi, D.O., Provotar, O.I.: Mathematical foundations for designing and development of intelligent systems of information analysis. Sci. J. Probl. in Program. 16(2–3), 233–241 (2014)
Terletskyi, D.O., Provotar, O.I.: Object-oriented dynamic networks. In: Setlak, G., Markov, K. (eds.) Computational Models for Business and Engineering Domains, IBS IS&C, vol. 30, 1 edn., pp. 123–136. ITHEA (2014)
Touretzky, D.S.: The Mathematics of Inheritance Systems. Morgan Kaufmann Publishers, Los Altos (1986)
Weisfeld, M.: The Object-Oriented Thought Process. Developer’s Library, 4th edn. Wesley, Boston (2013)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Terletskyi, D.O. (2019). Run-Time Class Generation: Algorithms for Union of Homogeneous and Inhomogeneous Classes. In: Damaševičius, R., Vasiljevienė, G. (eds) Information and Software Technologies. ICIST 2019. Communications in Computer and Information Science, vol 1078. Springer, Cham. https://doi.org/10.1007/978-3-030-30275-7_12
Download citation
DOI: https://doi.org/10.1007/978-3-030-30275-7_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-30274-0
Online ISBN: 978-3-030-30275-7
eBook Packages: Computer ScienceComputer Science (R0)