Algorithms for Random Adjacency Matrixes Generation Used for Scheduling Algorithms Test

Q1 Social Sciences
Yingfeng Wang, Zhijing Liu, Wei Yan
{"title":"Algorithms for Random Adjacency Matrixes Generation Used for Scheduling Algorithms Test","authors":"Yingfeng Wang, Zhijing Liu, Wei Yan","doi":"10.1109/MVHI.2010.190","DOIUrl":null,"url":null,"abstract":"In order to meet the testing requirements of task scheduling algorithms, this paper proposes two algorithms for generating random adjacency matrixes. One algorithm is used for generating random adjacency matrixes representing either directed cyclic graphs or directed acyclic graphs. The other algorithm is used for generating directed acyclic graphs only. The paper analyses the characters of elements of an adjacency matrix, and applies a square matrix with elements falling into a Gaussian distribution and the technique of descending order to achieve a random adjacency matrix. We conduct experiments on our algorithms using MATLAB. The experimental results show that the algorithms have high efficiencies, and adjacency matrixes which represent task graphs with dozens of nodes and dozens of edges can be generated in one minute. Those random adjacency matrixes generated by the algorithms are suited for task scheduling algorithms which use random adjacency matrixes to verify validities.","PeriodicalId":34860,"journal":{"name":"HumanMachine Communication Journal","volume":"25 1","pages":"422-424"},"PeriodicalIF":0.0000,"publicationDate":"2010-04-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"HumanMachine Communication Journal","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MVHI.2010.190","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"Social Sciences","Score":null,"Total":0}
引用次数: 14

Abstract

In order to meet the testing requirements of task scheduling algorithms, this paper proposes two algorithms for generating random adjacency matrixes. One algorithm is used for generating random adjacency matrixes representing either directed cyclic graphs or directed acyclic graphs. The other algorithm is used for generating directed acyclic graphs only. The paper analyses the characters of elements of an adjacency matrix, and applies a square matrix with elements falling into a Gaussian distribution and the technique of descending order to achieve a random adjacency matrix. We conduct experiments on our algorithms using MATLAB. The experimental results show that the algorithms have high efficiencies, and adjacency matrixes which represent task graphs with dozens of nodes and dozens of edges can be generated in one minute. Those random adjacency matrixes generated by the algorithms are suited for task scheduling algorithms which use random adjacency matrixes to verify validities.
随机邻接矩阵生成算法,用于调度算法测试
为了满足任务调度算法的测试要求,本文提出了两种随机邻接矩阵的生成算法。一种算法用于生成表示有向循环图或有向无环图的随机邻接矩阵。另一种算法仅用于生成有向无环图。本文分析了邻接矩阵中元素的特征,采用元素服从高斯分布的方阵和降序技术实现了随机邻接矩阵。我们使用MATLAB对我们的算法进行了实验。实验结果表明,该算法具有较高的效率,可以在1分钟内生成具有数十个节点和数十条边的任务图邻接矩阵。算法生成的随机邻接矩阵适用于使用随机邻接矩阵验证有效性的任务调度算法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
10.00
自引率
0.00%
发文量
10
审稿时长
8 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信