代码搜索:Select
找到约 10,000 项符合「Select」的源代码
代码结果 10,000
www.eeworm.com/read/143387/12879695
c select.c
/*
** 2001 September 15
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiven
www.eeworm.com/read/244101/12887270
m select.m
function y=select(fit,N)
P=rand(1,N);
for i=1:N
tem_p=find(fit>=P(i));
s(i)=tem_p(1);
end
y=s;
www.eeworm.com/read/244076/12891162
c select.c
/*
* GENESIS Copyright (c) 1986, 1990 by John J. Grefenstette
* This program may be freely copied for educational
* and research purposes. All other rights reserved.
*
* file: select
www.eeworm.com/read/244076/12892257
m select.m
function [out]=select(in,d,x,y)
%
% out=select(in);
%
% selects a new population
%
%
%
% Mix up the population
%
chrom=shuffle(in);
%
% Decode the existing population
%
coefs=decodal
www.eeworm.com/read/330160/12908786
jpg select.jpg
www.eeworm.com/read/243691/12922697
bmp select.bmp
www.eeworm.com/read/142770/12922831
m select.m
function y=select(gt,pathlength,alpha)
%选择复制操作,主要思想是基于排名的轮盘赌选择
%alpha越大,则越择优复制进入下一代,推荐alpha=0.1
%gt为种群,length为种群中各个路径的长度
[var1,var2]=size(gt);%var1是种群个数popsize,var2是城市个数citynum
gtb=gt;
[aftercos
www.eeworm.com/read/243037/12966718
cur select.cur
www.eeworm.com/read/329241/12967646
c select.c
/*select.c*/
#include
#include
#include
#include
#include
int main(void)
{
int fds[2];
char buf[7];
int i,rc,maxfd;
fd_set inset1,in
www.eeworm.com/read/329241/12967674
c select.c
#include
#include
#include
#include
#include
#include
#include
#include
#include
#i