<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Greetings<br>
<br>
I have been trying to develop a genetic algorithm in Scilab. I intend
to use binary coding. But, I am experiencing some problems with
function <b>init_func_default</b>. In help file I found:<br>
<br>
<h3><font color="blue">Calling Sequence</font> </h3>
<dl>
<dd><tt>Pop_init = init_func_default(popsize,param)</tt> </dd>
</dl>
<h3><font color="blue">Parameters</font> </h3>
<ul>
<li><tt><b>popsize</b> </tt>: the number of individuals to generate.
</li>
<li><tt><b>param</b> </tt>: a list of parameters. - 'dimension': the
size of the vector X. - 'minbound': a vector of minimum bounds for the
variable X. - 'maxbound': a vector of maximum bounds for the variable
X. </li>
<li><tt><b>Pop_init</b> </tt>: a list which contains the initial
population of individuals. </li>
</ul>
I don´t know how to put in "param" the list dimension, minbound and
maxbound. Can you help me with that?
<pre class="moz-signature" cols="72">--
Marcelo Menezes Reis, Dr.Eng.
Professor Adjunto - Adjunct Professor
Departamento de Informática e Estatística
Department of Computer Science and Statistics
Universidade Federal de Santa Catarina
<a class="moz-txt-link-freetext" href="http://www.inf.ufsc.br/~marcelo/">http://www.inf.ufsc.br/~marcelo/</a>
_____________________________________________
</pre>
</body>
</html>