文件名称:gene_bpnn_xor
介绍说明--下载内容来自于网络,使用问题请自行百度
标准的遗传算法代码,下面是程序:function y=fitness(chrom,p,aim)
global P_cross P_mutation
[Popsize len]=size(chrom)
fitness_gene=zeros(Popsize,1)
in_he=zeros(4,1)
out_he=zeros(4,1)
in_out=0
out_out=0 -Standard genetic algorithm code, the following is the procedure: function y = fitness (chrom, p, aim) global P_cross P_mutation [Popsize len] = size (chrom) fitness_gene = zeros (Popsize, 1) in_he = zeros (4,1) out_he = zeros (4,1) in_out = 0 out_out = 0
global P_cross P_mutation
[Popsize len]=size(chrom)
fitness_gene=zeros(Popsize,1)
in_he=zeros(4,1)
out_he=zeros(4,1)
in_out=0
out_out=0 -Standard genetic algorithm code, the following is the procedure: function y = fitness (chrom, p, aim) global P_cross P_mutation [Popsize len] = size (chrom) fitness_gene = zeros (Popsize, 1) in_he = zeros (4,1) out_he = zeros (4,1) in_out = 0 out_out = 0
相关搜索: 遗传算法代码
(系统自动生成,下载前可以参看下载内容)
下载文件列表
gene_bpnn_xor/select.m
gene_bpnn_xor/cross_over.m
gene_bpnn_xor/fitness.m
gene_bpnn_xor/mutation.m
gene_bpnn_xor/main.m
gene_bpnn_xor/main.asv
gene_bpnn_xor/fitness.asv
gene_bpnn_xor
gene_bpnn_xor/cross_over.m
gene_bpnn_xor/fitness.m
gene_bpnn_xor/mutation.m
gene_bpnn_xor/main.m
gene_bpnn_xor/main.asv
gene_bpnn_xor/fitness.asv
gene_bpnn_xor