fitness type in genetic algorithm
Info
This question is closed. Reopen it to edit or answer.
Show older comments
hi. i have a program wich base on genetic algorithm in image registration.there is one line in code i dont understand what doing : %%%%%%%%%%%%%%%%%%% parameter setting %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Determining fitness type % notice that SSD and SAD do not work correctly for Original image registration Fitness_type=4; % MI=1 , NMI=2 , SSD=3 , SAD=4
can anybody tell me whats is that code meaning? tnx all
Answers (1)
John D'Errico
on 25 Aug 2017
0 votes
It does very little.
A variable is created of name Fitness_type. It is assigned the value 4.
Anything that starts with a % is just a comment.
Perhaps you need to read the very basic documentation for MATLAB? It is legal to read the manual, after all.
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!