Home > Mateda2.0 > seeding > seed_thispop.m

seed_thispop

PURPOSE ^

[NewPop] = seed_thispop(NumbVar,PopSize,Card,sampling_params)

SYNOPSIS ^

function [NewPop] = seed_thispop(NumbVar,PopSize,Card,sampling_params)

DESCRIPTION ^

 [NewPop] = seed_thispop(NumbVar,PopSize,Card,sampling_params)
 seed_thispop:         Starts the algorithm from the seeded population
 INPUTS
 NumbVar: Number of variables
 Card: For discrete variables:    Vector with the dimension of all the variables. 
       For continuous variables:  Matrix of two vectors with the minimum and maximum real values 
                                  each variable can take 
 sampling_params{1}(1) = Pop: Initial population 
 OUTPUTS
 NewPop: Sampled individuals

 Last version 8/26/2008. Roberto Santana (roberto.santana@ehu.es)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [NewPop] = seed_thispop(NumbVar,PopSize,Card,sampling_params)
0002 % [NewPop] = seed_thispop(NumbVar,PopSize,Card,sampling_params)
0003 % seed_thispop:         Starts the algorithm from the seeded population
0004 % INPUTS
0005 % NumbVar: Number of variables
0006 % Card: For discrete variables:    Vector with the dimension of all the variables.
0007 %       For continuous variables:  Matrix of two vectors with the minimum and maximum real values
0008 %                                  each variable can take
0009 % sampling_params{1}(1) = Pop: Initial population
0010 % OUTPUTS
0011 % NewPop: Sampled individuals
0012 %
0013 % Last version 8/26/2008. Roberto Santana (roberto.santana@ehu.es)
0014 
0015 NewPop = cell2num(sampling_params{1}(1));

Generated on Fri 04-Dec-2009 13:38:29 by m2html © 2003