代码搜索:Select
找到约 10,000 项符合「Select」的源代码
代码结果 10,000
www.eeworm.com/read/198338/7939944
m select.m
% 函数 - 轮盘赌选择要交叉的个体
function Num = select(sumfitness,oldpop,gen,maxgen)
popsize = length(oldpop);
Psum = 0;
if(sumfitness ~= 0)
for i = 1:popsize
P(i) = oldpop(i).fitness/sumf
www.eeworm.com/read/433343/7939975
m select.m
function path=Select(path,SelectP)
[row,col]=size(path);
roulette=cumsum(SelectP);
for i=1:row
tempP=rand(1);
for j=1:length(roulette)
if tempP
www.eeworm.com/read/433343/7940078
asv select.asv
function path=Select(path,FP)
%轮盘赌选择
[row,col]=size(path);
roulette=cumsum(FP);
for i=1:row
tempP=rand(1);
for j=1:length(roulette)
if tempP
www.eeworm.com/read/433343/7940111
m select.m
function path=Select(path,FP)
%轮盘赌选择
[row,col]=size(path);
roulette=cumsum(FP);
for i=1:row
tempP=rand(1);
for j=1:length(roulette)
if tempP
www.eeworm.com/read/298649/7946922
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/298649/7947703
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/298428/7961497
c select.c
#include
#include
void selection_sort(int array[], int size)
{
int temp, current, j;
for (current = 0; current < size; current++)
for (j = current + 1; j < s
www.eeworm.com/read/397782/8022045
c select.c
#include "MemDataBase.h"
#include "demo.h"
int main(int argc,char **argv)
{
MEMDATABASE *pMemDB;
DEMO_DEF stuDemo;
int i,iRet,iIpcKey;
long lBegin,lEnd;
if(argc!=4)
{
p
www.eeworm.com/read/196895/8052036
m select.m
function ret=select(individuals,sizepop,opts)
% 本函数对每一代种群中的染色体进行选择,以进行后面的交叉和变异
% individuals input : 种群信息
% sizepop input : 种群规模
% opts input : 选择方法的选择
% ret output : 经过选择后的
www.eeworm.com/read/397366/8054341
v select.v
`timescale 1ns / 1ps
////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 08:27:58 01/10/07
// Design Name:
// Mo