real coded Genetic algorithm
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i have found the objective fun (ie) is given below fitR = zeros(1,N); for j = 1: N PI0 = PI(1:xR(j,1)); ind = PI0 == 0; ind = ind .* eps; PI0 = PI0 + ind; clear ind w0 = sum(PI0); H0 = -sum((PI0/w0).*(log(PI0/w0))); fitR(j) = fitR(j) + H0; for jl = 2: level PI0 = PI(xR(j,jl-1)+1:xR(j,jl)); ind = PI0 == 0; ind = ind .* eps; PI0 = PI0 + ind; clear ind w0 = sum(PI0); H0 = -sum((PI0/w0).*(log(PI0/w0))); fitR(j) = fitR(j) + H0; end end please tell me how to apply the objective fun in real coded GA .provide some example coding
0 commentaires
Réponses (1)
Stalin Samuel
le 27 Oct 2014
http://www.mathworks.in/help/gads/examples/performing-a-multiobjective-optimization-using-the-genetic-algorithm.html http://www.ie.itcr.ac.cr/rpereira/mat_ant/Genetic%20Algorithms/AII.pdf http://noticias.espe.edu.ec/controlinteligente/files/2012/11/genetic-algorithm-in-MATLAB.pdf http://is.iiita.ac.in/study/Computational%20Intelligence/MATLAB%20CODE=%20REAL%20CODED%20Genetic%20Algorithm%20one%20variable.m
0 commentaires
Voir également
Catégories
En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!