Abstract
Object-oriented application framework is one of the most important implementations of object-oriented software engineering. Normally, a user takes several months of learning in order to become highly productive in using a specific object-oriented application framework. Without proper documentation, frameworks are not very usable to framework users. Currently available framework documentation approaches are not very effective for new framework users, and this scenario tends to discourage new users in using frameworks. The main objective of this paper is to propose and implement an intelligent framework documentation approach that integrates case-based learning (CBL) with genetic algorithm (GA) and Knuth-Morris-Pratt (KMP) pattern matching algorithm with the intention of making learning a framework more effective. GA assists in optimizing the search process and performs machine learning. Within the GA, nearest neighbor algorithm is used in determining the most similar recorded case that can be used in solving the new case. A new case is retained in the case base for future retrievals. A framework user is allowed to select from a list of features provided by the framework that he or she is interested in learning, and the system will give an example of application related to the selected features. This paper concludes with a prototype that implements the intelligent framework documentation approach.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Fayad, M.E.: E-Frame: A Process-based Object-Oriented Framework for E-Commerce. University of Nebraska at Lincoln, Nebraska, United States of America, http://www-engr.sjsu.edu/~fayad/publications/conference/E-frame.doc
Fayad, M.E., Schmidt, D.C., Johnson, R.E.: Building Application Frameworks. Wiley, Canada (1999)
Mat Jani, H., Lee, S.P.: A Study on Object-Oriented Application Frameworks Documentation: Documenting Approaches. In: Proc. Informatics & RWICT 2004 International Conference, vol. 1, pp. 383–400 (2004)
Østerbye, K.: Minimalist Documentation of Frameworks (1999), http://www.literateprogramming.com/minimal99.pdf
Chai, I.: Pedagogical Framework Documentation: How to Document Object-Oriented Frameworks, an Empirical Study. Ph.D Thesis, University of Illinois at Urbana-Champaign (2000)
Johnson, R.E.: Documenting Frameworks using Patterns. In: Proc. OOPSLA 1992 Conf., pp. 63–76 (1992)
Froehlich, G., Hoover, H.J., Liu, L., Sorenson, P.: Hooking into Object-Oriented Application Frameworks. In: Proc. 19th Int’l Conf. Software Engineering, pp. 491–501 (1997)
Gomez-Albarran, M., Gonzalez-Calero, P., Fernandez-Chamizo, C.: Profiting from Case-based Reasoning in Framework Documentation. IEEE Software Engineering Journal, 111–122 (2001)
Chen, Q., Xu, F.: Framework Issue: Framework Documentation. Department of Computer Science. University of Nevada at Reno, http://www.cse.unr.edu/~chen_q/docu.html
Zakrezewska, D., Wojciechowski, A.: Identifying Students Usability Needs in Collaborative Learning Environments. In: Proc. 2008 Conference on Human System Interaction (HSI 2008), pp. 862–867. IEEE/UITM, Poland (2008)
Negnevitsky, M.: Artificial Intelligence: A Guide to Intelligent Systems. Addison-Wesley, Pearson Education Limited (2002)
Genetic Algorithms, http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/tcw2/report.html
Cormen, T.H., Leiserson, C.E., Rivest, R.L., Stein, C.: Introduction to Algorithms, 2nd edn. MIT Press and McGraw-Hill, Cambridge (2001), http://en.wikipedia.org/wiki/Knuth-Morris-Pratt_algorithm
Aamodt, A., Plaza, E.: Case-Based Reasoning: Foundational Issues, Methodological Variations and System Approaches. AI Communications 7(1), 39–59 (1994)
Leake, D.B.: CBR in Context: The Present and Future: Cited In: Case-Based Reasoning: Experiences. In: Leake, D.B. (ed.) Lessons & Future Directions, pp. 3–30. AAAI Press /The MIT Press (1996)
Huang, M.J., Huang, H.S., Chen, M.Y.: Constructing a Personalized E-Learning System Based on Genetic Algorithm and Case-Based Reasoning Approach. Expert Systems with Applications Elsevier J. (2006)
Juan, Y.K., Shih, S.G., Perng, Y.H.: Decision Support For Housing Customization: A Hybrid Approach using Case-Based Reasoning and Genetic Algorithm. Expert Systems with Applications Elsevier J., 83–93 (2006)
Deitel, H.M., Deitel, P.J.: Java How to Program, 4th edn. Prentice Hall, New Jersey (2002)
Mat Jani, H., Lee, S.P.: Applying Case Reuse and Rule-Based Reasoning in Object-Oriented Application Framework: Analysis and Design. In: Proc. 2008 Conference on Human System Interaction (HSI 2008), pp. 597–602. IEEE/UITM, Poland (2008)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Mat Jani, H., Lee, S.P. (2009). Using GA and KMP Algorithm to Implement an Approach to Learning Through Intelligent Framework Documentation. In: Yang, J., Ginige, A., Mayr, H.C., Kutsche, RD. (eds) Information Systems: Modeling, Development, and Integration. UNISCON 2009. Lecture Notes in Business Information Processing, vol 20. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-01112-2_21
Download citation
DOI: https://doi.org/10.1007/978-3-642-01112-2_21
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-01111-5
Online ISBN: 978-3-642-01112-2
eBook Packages: Computer ScienceComputer Science (R0)