⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 indexconvertcard.m

📁 UMDA. a kind of estimation of distribution algorithm , which is the improvement of genetic algorithm
💻 M
字号:
function [num] = IndexconvertCard(valindex,length,AccCard)% This function converts the index valindex to the vector of variables num, where the accumulative cardinality of each variable is in AccCard,% AccCard is the product of cardinalities of previous  variables, where the first variable is  the one to left. aux = valindex; for i=1:length   remainder = rem(aux, AccCard(i));   num(i)= (aux - remainder) / AccCard(i);   aux = remainder; end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -