G. B. Balogun, Muhideen Abdulraheem, Peter Ogirima Sadiku, Olawale Debo Taofeek, Adebisi Adewale
{"title":"合并排序算法和修正合并排序算法的哈尔斯特德复杂度测量法","authors":"G. B. Balogun, Muhideen Abdulraheem, Peter Ogirima Sadiku, Olawale Debo Taofeek, Adebisi Adewale","doi":"10.37905/jji.v5i2.21995","DOIUrl":null,"url":null,"abstract":"Complexity measuring tools in computer science are deployed to measure and compare different characteristics of algorithms in order to find the best one in solving a particular problem or that suits a particular situation. In view of this, Halstead’s complexity metrics is deployed to compare the efficiency of two external sorting methods; the Merge sort and the Modified Merge sort algorithms. The methodology used in achieving this, lies in the extraction of operators and operands from the C_sharp (C#) implemented program of the two algorithms. Six Halstead metrics are evaluated using these operators and operands as parameters. The results shows that the Modified Merge sort algorithm is much more efficient than the conventional Merge sort as it has a lower Program Volume, lower Program difficulty and a lower Program Effort even though the advantage of a higher Intelligence content goes to the Merge sort algorithm.","PeriodicalId":439611,"journal":{"name":"Jambura Journal of Informatics","volume":"12 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Halstead’s Complexity Measure of a Merge sort and Modified Merge sort Algorithms\",\"authors\":\"G. B. Balogun, Muhideen Abdulraheem, Peter Ogirima Sadiku, Olawale Debo Taofeek, Adebisi Adewale\",\"doi\":\"10.37905/jji.v5i2.21995\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Complexity measuring tools in computer science are deployed to measure and compare different characteristics of algorithms in order to find the best one in solving a particular problem or that suits a particular situation. In view of this, Halstead’s complexity metrics is deployed to compare the efficiency of two external sorting methods; the Merge sort and the Modified Merge sort algorithms. The methodology used in achieving this, lies in the extraction of operators and operands from the C_sharp (C#) implemented program of the two algorithms. Six Halstead metrics are evaluated using these operators and operands as parameters. The results shows that the Modified Merge sort algorithm is much more efficient than the conventional Merge sort as it has a lower Program Volume, lower Program difficulty and a lower Program Effort even though the advantage of a higher Intelligence content goes to the Merge sort algorithm.\",\"PeriodicalId\":439611,\"journal\":{\"name\":\"Jambura Journal of Informatics\",\"volume\":\"12 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Jambura Journal of Informatics\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.37905/jji.v5i2.21995\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Jambura Journal of Informatics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.37905/jji.v5i2.21995","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Halstead’s Complexity Measure of a Merge sort and Modified Merge sort Algorithms
Complexity measuring tools in computer science are deployed to measure and compare different characteristics of algorithms in order to find the best one in solving a particular problem or that suits a particular situation. In view of this, Halstead’s complexity metrics is deployed to compare the efficiency of two external sorting methods; the Merge sort and the Modified Merge sort algorithms. The methodology used in achieving this, lies in the extraction of operators and operands from the C_sharp (C#) implemented program of the two algorithms. Six Halstead metrics are evaluated using these operators and operands as parameters. The results shows that the Modified Merge sort algorithm is much more efficient than the conventional Merge sort as it has a lower Program Volume, lower Program difficulty and a lower Program Effort even though the advantage of a higher Intelligence content goes to the Merge sort algorithm.