EXAMPLE 17: Goldberg's deceptive function; Tree EDA algorithm Proportional selection
0001 % EXAMPLE 17: Goldberg's deceptive function; Tree EDA algorithm 0002 % Proportional selection 0003 0004 PopSize = 500; n = 60; cache = [0,0,0,0,0]; Card = 2*ones(1,n); 0005 F = 'evalfuncdec3'; 0006 edaparams{1} = {'replacement_method','elitism',{10,'fitness_ordering'}}; 0007 edaparams{2} = {'selection_method','prop_selection',[]}; 0008 edaparams{3} = {'learning_method','LearnTreeModel',{}}; 0009 edaparams{4} = {'sampling_method','SampleFDA',{PopSize}}; 0010 0011 [AllStat,Cache]=RunEDA(PopSize,n,F,Card,cache,edaparams)