Skip to main content

Enumerating Minimally Revised Specifications Using Dualization

  • Conference paper
  • First Online:
New Frontiers in Artificial Intelligence (JSAI 2005)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 4012))

Included in the following conference series:

Abstract

We consider the problem of enumerating minimally revised specifications in software engineering in the situation where a new specification is added to the current specification and causes a conflict. We assume that a specification is expressed as a set of ground Horn clauses which is divided into two sets T pst and T tmp that are the unchangeable and changeable parts of the specification, respectively. Since a minimal revision is obtained by removing a minimal set of clauses from T tmp so that the remaining set is consistent, our task can be restated as enumerating maximal consistent subsets of a given set of Horn clauses. Moreover, consistency property is monotone, that is, if a set of Horn clauses is consistent then every subset of the set is also consistent. Then, we can apply our previous method of enumerating maximal frequent sets in data mining which can be used for any enumeration for maximal subsets w.r.t. a monotone property. We show that our algorithm performs a dualization only once for an enumeration of maximal subsets, and the number of consistency checks is at most \(|{MinI_{T_{pst}}({T_{tmp}})}|+|{MaxC_{T_{pst}}({T_{tmp}})}|\cdot|T_{tmp}|\) and the necessary space is \(\mbox{O}(\Sigma_{S\in {MaxC_{T_{pst}}({T_{tmp}})}}|S|)\) where \(|{MinI_{T_{pst}}({T_{tmp}})}|\) is the number of minimal subsets of T tmp that are inconsistent with T pst, and \(|{MaxC_{T_{pst}}({T_{tmp}})}|\) is the number of maximal subsets of T tmp that are consistent with T pst.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • 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.

References

  1. Bennett, K.H., Rjlich, V.T.: Software Maintenance and Evolution: A Road Map. The Future of Software Engineering, Special Volume published in conjunction with ICSE 2000, 75–87 (2000)

    Google Scholar 

  2. Dowling, W.F., Gallier, J.H.: Linear-Time Algorithms for Testing the Satisfiability of Propositional Horn Formulae. J. Log. Program. 1(3), 267–284 (1984)

    Article  MathSciNet  Google Scholar 

  3. Gunopulos, D., Khardon, R., Mannila, H., Toivonen, H.: Data mining, Hypergraph Transversals, and Machine Learning. In: Proc. of PODS 1997, pp. 209–216 (1997)

    Google Scholar 

  4. Domingo, C.: Concept Learning: Theory, Applications and Related Problems. Doctoral Dissertation, Universitat Politechnica de Catalunya (1998)

    Google Scholar 

  5. Gunopulos, D., Khardon, R., Mannila, H., Saluja, S., Toivonen, H., Sharm, R.S.: Discovering all most specific sentences. ACM Trans. Database Syst. 28(2), 140–174 (2003)

    Article  Google Scholar 

  6. Mannila, H., Toivonen, T.: On an Algorithm for Finding All Interesting Sentences. In: Cybernetics and Systems. The Thirteen European Meeting on Cybernetics and Systems Research, vol. II, pp. 973–978 (1996)

    Google Scholar 

  7. Lientz, B.P., Swanson, E.B.: Software Maintenance Management. Addison-Wesley, Reading (1980)

    Google Scholar 

  8. Satoh, K.: Computing Minimal Revised Logic Program by Abduction. In; Proc. of the International Workshop on the Principles of Software Evolution, pp. 177–182 (1998)

    Google Scholar 

  9. Satoh, K.: Consistency Management in Software Engineering by Abduction. In: Proceedings of the ICSE-2000 Workshop on Intelligent Software Engineering, Limerick, Ireland, pp. 90–99 (2000)

    Google Scholar 

  10. Satoh, K.: Computing Minimal Belief Revision by Extended Logic Programming without Minimality Check. In: Proceedings of IJCAI-01 Workshop on Abductive Reasoning, pp. 48–55 (2001)

    Google Scholar 

  11. Satoh, K.: Computing Minimal Revised Specifications by Default Logic. In: Proc. of Workshop on Intelligent Technologies in Software Engineering (WITSE2003), pp. 7–12 (2003)

    Google Scholar 

  12. Satoh, K., Uno, T.: Enumerating Maximal Frequent Sets Using Irredundant Dualization. In: Grieser, G., Tanaka, Y., Yamamoto, A. (eds.) DS 2003. LNCS (LNAI), vol. 2843, pp. 256–268. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  13. Uno, T.: A Practical Fast Algorithm for Enumerating Minimal Set Coverings. In: SIGAL 1983. Information Processing Society of Japan, pp. 9–16 (2002) (in Japanese)

    Google Scholar 

  14. Uno, T., Satoh, K.: Detailed Description of an Algorithm for Enumeration of Maximal Frequent Sets with Irredundant Dualization. In: Online CEUR Workshop Proceedings of the ICDM 2003 Workshop on Frequent Itemset Mining Implementations (FIMI 2003) (2003), http://sunsite.informatik.rwth-aachen.de/Publications/CEUR-WS//Vol-90/satoh.pdf

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Satoh, K., Uno, T. (2006). Enumerating Minimally Revised Specifications Using Dualization. In: Washio, T., Sakurai, A., Nakajima, K., Takeda, H., Tojo, S., Yokoo, M. (eds) New Frontiers in Artificial Intelligence. JSAI 2005. Lecture Notes in Computer Science(), vol 4012. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11780496_21

Download citation

  • DOI: https://doi.org/10.1007/11780496_21

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-35470-3

  • Online ISBN: 978-3-540-35471-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics