下面为用遗传算法求f(XI,x2)最大值的步骤1)初始化种群根据上面的知识,我们取编码长度为33,取种群大小(pop-size)20个染色体的种群,所有染色体的33位都是随机初始化的,经过初始化后,我们得到下面的群体v1气10011010000000111111101001101111...
基于1个网页-相关网页
size of pop-can 饮料罐尺寸
POP(), for instance, could be implemented as a FETCH() of the last element, followed by STORESIZE(FETCHSIZE()-1) (setting the size of the array to be one less, effectively removing the last element).
例如,可以这样实现 POP() :对最后一个元素使用 FETCH() ,然后使用 STORESIZE(FETCHSIZE()-1) (将数组的大小减去 1,实际除去了最后一个元素)。
Then, I build the pop object with the parameters I like, including the size, the location, the title, and the URL of the page from which the widget should get its content.
然后,用我喜欢的参数构建弹出对象,包括大小、位置、标题和小部件从中获取显示内容的页面的URL。
And if you need to change the default size of your application's pop-up Windows, you will only need to change it in one place rather than in several different locations in your code.
如果您需要修改您应用程序弹出窗口的默认大小,您只需要在您代码中的一个地方进行修改,不需要在几个不同位置修改。
应用推荐