Calculate T0 for your hardware and programming language accroding to CEC

版本 1.0.0.0 (1.4 KB) 作者: Reza Ahmadzadeh
Standard code provided by Congress on Evolutionary Computation (CEC)
53.0 次下载
更新时间 2016/5/23

查看许可证

This is the standard code provided by Congress on Evolutionary Computation (CEC) in order to provide the computational time based on the hardware and programming language used for an algorithm.
Test program generates T0 for evaluating the complexity of an algorithm. T0 is used to estimate the power of your machine and the language you are coding in. Usually you calculate T1 based on the performance of your algorithm and comparing T1 to T0 makes the results independent from the CPU power and the language.
% This technique has been used in CEC competitions. For instance take look at this reference:
"Problem Definition and Evaluation Criteria for the CEC 2013 Special Session on real-parameter optimization"
Input:
n: is the number of time the test is repeated and then the result is
averaged. Using n=100 is sufficient.
Example:
T0 = MachineTimeTest(100)

引用格式

Reza Ahmadzadeh (2024). Calculate T0 for your hardware and programming language accroding to CEC (https://www.mathworks.com/matlabcentral/fileexchange/57296-calculate-t0-for-your-hardware-and-programming-language-accroding-to-cec), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Verification, Validation, and Test 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0