Using GA and KMP Algorithm to Implement an Approach to Learning Through Intelligent Framework Documentation | SpringerLink
Skip to main content

Using GA and KMP Algorithm to Implement an Approach to Learning Through Intelligent Framework Documentation

  • Conference paper
Information Systems: Modeling, Development, and Integration (UNISCON 2009)

Part of the book series: Lecture Notes in Business Information Processing ((LNBIP,volume 20))

Included in the following conference series:

  • 1189 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
¥17,985 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
JPY 3498
Price includes VAT (Japan)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
JPY 5719
Price includes VAT (Japan)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
JPY 7149
Price includes VAT (Japan)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. 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

  2. Fayad, M.E., Schmidt, D.C., Johnson, R.E.: Building Application Frameworks. Wiley, Canada (1999)

    Google Scholar 

  3. 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)

    Google Scholar 

  4. Østerbye, K.: Minimalist Documentation of Frameworks (1999), http://www.literateprogramming.com/minimal99.pdf

  5. Chai, I.: Pedagogical Framework Documentation: How to Document Object-Oriented Frameworks, an Empirical Study. Ph.D Thesis, University of Illinois at Urbana-Champaign (2000)

    Google Scholar 

  6. Johnson, R.E.: Documenting Frameworks using Patterns. In: Proc. OOPSLA 1992 Conf., pp. 63–76 (1992)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. Gomez-Albarran, M., Gonzalez-Calero, P., Fernandez-Chamizo, C.: Profiting from Case-based Reasoning in Framework Documentation. IEEE Software Engineering Journal, 111–122 (2001)

    Google Scholar 

  9. 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

  10. 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)

    Chapter  Google Scholar 

  11. Negnevitsky, M.: Artificial Intelligence: A Guide to Intelligent Systems. Addison-Wesley, Pearson Education Limited (2002)

    Google Scholar 

  12. Genetic Algorithms, http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol4/tcw2/report.html

  13. 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

    MATH  Google Scholar 

  14. Aamodt, A., Plaza, E.: Case-Based Reasoning: Foundational Issues, Methodological Variations and System Approaches. AI Communications 7(1), 39–59 (1994)

    Google Scholar 

  15. 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)

    Google Scholar 

  16. 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)

    Google Scholar 

  17. 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)

    Google Scholar 

  18. Deitel, H.M., Deitel, P.J.: Java How to Program, 4th edn. Prentice Hall, New Jersey (2002)

    MATH  Google Scholar 

  19. 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)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics