代码搜索:pmutation
找到约 122 项符合「pmutation」的源代码
代码结果 122
www.eeworm.com/read/490475/6456894
txt 遗传算法程序 matlab.txt
遗传算法程序:
说明: fga.m 为遗传算法的主程序; 采用二进制Gray编码,采用基于轮盘赌法的非线性排名选择, 均匀交叉,变异操作,而且还引入了倒位操作!
function [BestPop,Trace]=fga(FUN,LB,UB,eranum,popsize,pCross,pMutation,pInversion,options)
% [BestPop,Tr
www.eeworm.com/read/476209/6764201
m fga.m
function [BestPop,Trace]=fga(FUN,LB,UB,eranum,popsize,pCross,pMutation,pInversion,options)
% [BestPop,Trace]=fmaxga(FUN,LB,UB,eranum,popsize,pcross,pmutation)
% Finds a maximum of a function of se
www.eeworm.com/read/271838/10978595
cpp tspenter.cpp
// TSPenter.cpp : 实现文件
//
#include "stdafx.h"
#include "TSP2.h"
#include "TSPenter.h"
int pop,max_;
float pcro,pmut;
// TSPenter 对话框
IMPLEMENT_DYNAMIC(TSPenter, CDialog)
TSPente
www.eeworm.com/read/481082/6658955
asv mutation2.asv
function pop=mutation2(pmutation,crosspop)
[mpop,npop]=size(crosspop);
for i=1:mpop
temp=rand;
if pmutation>temp
j1 = rand_function(1,npop)
j2 = rand_fun
www.eeworm.com/read/286957/8734434
cpp gadlg.cpp
// GADlg.cpp : implementation file
//
#include "stdafx.h"
#include "GA.h"
#include "GADlg.h"
#include "GA1.h"
#include "ParaSetDlg.h"
#include
#ifdef _DEBUG
#define new DEBUG
www.eeworm.com/read/481082/6658947
m mutation2.m
function pop=mutation2(pmutation,crosspop)
%%%%%%%%%% 逆转策略变异法 %%%%%%%%%
%crosspop=[1,2,3,4,1,2; %测试用例
% 2,3,1,4,1,2;
% 3,4,1,1,2,2;
% 1,2,1,4,3,2];
%pmutation=
www.eeworm.com/read/286957/8734458
cpp parasetdlg.cpp
// ParaSetDlg.cpp : implementation file
//
#include "stdafx.h"
#include "GA.h"
#include "ParaSetDlg.h"
#include "GADlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static cha
www.eeworm.com/read/170765/9791409
fx ga.fx
float pw;
float ph;
float dw;
float dh;
float w;
float h;
float2 offset1;
float2 offset2;
float pCross;
float pMutation;
float4x1 mat = {1,1,1,1};
#include"Sampler.fx"
#inclu
www.eeworm.com/read/170765/9791427
fx ga.fx
float pw;
float ph;
float dw;
float dh;
float w;
float h;
float2 offset1;
float2 offset2;
float pCross;
float pMutation;
float4x1 mat = {1,1,1,1};
#include"Sampler.fx"
#inclu
www.eeworm.com/read/469721/6925764
txt matlab 数值优化遗传算法程序.txt
function [X,MaxFval,BestPop,Trace]=fga(FUN,bounds,MaxEranum,PopSize,options,pCross,pMutation,pInversion)
% [X,MaxFval,BestPop,Trace]=fga(FUN,bounds,MaxEranum,PopSize,options,pCross,pMutation,pInversi