{"title":"Efficient Generation of Test Data with Extended Cardinality Constraints","authors":"M. Larouche, Sylvain Hallé","doi":"10.1109/QRS.2019.00055","DOIUrl":null,"url":null,"abstract":"We present an extension of first-order logic that includes a counting quantifier, allowing one to express assertions about the number n of elements in a set that satisfy a given property. We show how this logic can be used to express problems such as node degree distribution in computer networks, various graph problems and entity relationships with cardinality constraints found in UML diagrams. We then present a translation of this counting logic back into classical first-order logic; this translation is linear in the number of quantifiers and independent of n. This translation makes it possible to use existing first-order model finders to efficiently generate test data following a specific distribution.","PeriodicalId":122665,"journal":{"name":"2019 IEEE 19th International Conference on Software Quality, Reliability and Security (QRS)","volume":"31 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-07-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE 19th International Conference on Software Quality, Reliability and Security (QRS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/QRS.2019.00055","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
We present an extension of first-order logic that includes a counting quantifier, allowing one to express assertions about the number n of elements in a set that satisfy a given property. We show how this logic can be used to express problems such as node degree distribution in computer networks, various graph problems and entity relationships with cardinality constraints found in UML diagrams. We then present a translation of this counting logic back into classical first-order logic; this translation is linear in the number of quantifiers and independent of n. This translation makes it possible to use existing first-order model finders to efficiently generate test data following a specific distribution.