<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Generando IFs con PHP // Lo mas loco que se me ha ocurrido @_@</title>
	<atom:link href="http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/</link>
	<description>La página que siempre está en onda :)</description>
	<pubDate>Tue, 13 May 2008 12:21:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Tal y cuas</title>
		<link>http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-15855</link>
		<dc:creator>Tal y cuas</dc:creator>
		<pubDate>Thu, 13 Mar 2008 10:52:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-15855</guid>
		<description>de casualidad...
mmmmmmmm, no se, demasiado largo de leer, vi esto de casualidad, pero te digo como otro método q te podría valer....

se asigna a cada uno un valor, de los siguientes... (de casualidad)

1,2,4,8,16,32,64,128,256,512,1024,2048....y así con los q necesites

luego...
 if(loquesea()) total+=1;
 if(loqueseo()) total+=2;
 if(loquesey()) total+=4;

y así.... y el total te dará un número único (ejemplo: 3421), q haciendo luego una función (yo tenía una por ahí), puedes sacar la info q quieras del número (y además en una base de datos queda superordenadito teniendo solo un campo numérico :P)

ala, a shorrarla (de casualidad también)</description>
		<content:encoded><![CDATA[<p>de casualidad...<br />
mmmmmmmm, no se, demasiado largo de leer, vi esto de casualidad, pero te digo como otro método q te podría valer....</p>
<p>se asigna a cada uno un valor, de los siguientes... (de casualidad)</p>
<p>1,2,4,8,16,32,64,128,256,512,1024,2048....y así con los q necesites</p>
<p>luego...<br />
 if(loquesea()) total+=1;<br />
 if(loqueseo()) total+=2;<br />
 if(loquesey()) total+=4;</p>
<p>y así.... y el total te dará un número único (ejemplo: 3421), q haciendo luego una función (yo tenía una por ahí), puedes sacar la info q quieras del número (y además en una base de datos queda superordenadito teniendo solo un campo numérico :P)</p>
<p>ala, a shorrarla (de casualidad también)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor De la Rocha</title>
		<link>http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-15840</link>
		<dc:creator>Victor De la Rocha</dc:creator>
		<pubDate>Wed, 12 Mar 2008 15:28:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-15840</guid>
		<description>estas loco snactic :D jeje</description>
		<content:encoded><![CDATA[<p>estas loco snactic <img src='http://www.mis-algoritmos.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> jeje</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: snatic</title>
		<link>http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-15529</link>
		<dc:creator>snatic</dc:creator>
		<pubDate>Thu, 06 Mar 2008 16:13:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-15529</guid>
		<description>Hola mi estimado vic,

La verdad si que estas loco, aunque yo he hecho algo similar pero en rutinas de javascript, aunque no se compara con tus locuras, pero creo que para mejorar la eficiencia de tu programa seria mas practico si lo simplificaras en una clase, algo no muy facil de dijerir pero que puede mejorar la respuesta de tu codigo, pero bueno solo queria saludarte, esperemos que estes bien</description>
		<content:encoded><![CDATA[<p>Hola mi estimado vic,</p>
<p>La verdad si que estas loco, aunque yo he hecho algo similar pero en rutinas de javascript, aunque no se compara con tus locuras, pero creo que para mejorar la eficiencia de tu programa seria mas practico si lo simplificaras en una clase, algo no muy facil de dijerir pero que puede mejorar la respuesta de tu codigo, pero bueno solo queria saludarte, esperemos que estes bien</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor De la Rocha</title>
		<link>http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14807</link>
		<dc:creator>Victor De la Rocha</dc:creator>
		<pubDate>Sun, 17 Feb 2008 19:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14807</guid>
		<description>arg, que loco @_@ por mas que leo no le entiendo :P</description>
		<content:encoded><![CDATA[<p>arg, que loco @_@ por mas que leo no le entiendo <img src='http://www.mis-algoritmos.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: insane</title>
		<link>http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14806</link>
		<dc:creator>insane</dc:creator>
		<pubDate>Sun, 17 Feb 2008 18:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14806</guid>
		<description>Yo hace mucho tiempo hice algo parecido...

[php]//Se usa asi...
echo (	is(10,100,	array("","==")	,"&#124;")	) ? "true" : "false";
//Se lee..
//10 y 100 son :  o == ?????
//Notese que el 'o' es por el pipe, igual podriamos ahaber puesto &#124;&#124; o &#38;&#38;

function is($_0,	$_1,	$mixedParams,	$cmp="&#38;"){ # +remi
		$_=($cmp=="&#38;")? 1 : 0;
		$_a=array("==","&#62;=","&#60;=","!=");
		for($i=0;$i&#60;count($mixedParams);$i++){
		if(in_array($mixedParams[$i],$_a))
		eval('$_'.$cmp.'=((\''.$_0.'\''.$mixedParams[$i].'\''.$_1.'\'));'.'');
		}
		return $_;
}[/php]</description>
		<content:encoded><![CDATA[<p>Yo hace mucho tiempo hice algo parecido...</p>
<div class="hiliter"><strong>php: </strong>
<pre class="php"><span style="color: #808080; font-style: italic;">//Se usa asi...</span>
<a href="http://www.php.net/echo"><span style="color: #000066;">echo</span></a> <span style="color: #66cc66;">&#40;</span>	is<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">10</span>,<span style="color: #cc66cc;">100</span>,	<a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;&quot;</span>,<span style="color: #ff0000;">&quot;==&quot;</span><span style="color: #66cc66;">&#41;</span>	,<span style="color: #ff0000;">&quot;|&quot;</span><span style="color: #66cc66;">&#41;</span>	<span style="color: #66cc66;">&#41;</span> ? <span style="color: #ff0000;">&quot;true&quot;</span> : <span style="color: #ff0000;">&quot;false&quot;</span>;
<span style="color: #808080; font-style: italic;">//Se lee..</span>
<span style="color: #808080; font-style: italic;">//10 y 100 son :  o == ?????</span>
<span style="color: #808080; font-style: italic;">//Notese que el 'o' es por el pipe, igual podriamos ahaber puesto || o &amp;&amp;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> is<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$_0</span>,	<span style="color: #0000ff;">$_1</span>,	<span style="color: #0000ff;">$mixedParams</span>,	<span style="color: #0000ff;">$cmp</span>=<span style="color: #ff0000;">&quot;&#038;amp;&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span> <span style="color: #808080; font-style: italic;"># +remi</span>
		<span style="color: #0000ff;">$_</span>=<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$cmp</span>==<span style="color: #ff0000;">&quot;&#038;amp;&quot;</span><span style="color: #66cc66;">&#41;</span>? <span style="color: #cc66cc;">1</span> : <span style="color: #cc66cc;">0</span>;
		<span style="color: #0000ff;">$_a</span>=<a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;==&quot;</span>,<span style="color: #ff0000;">&quot;&#038;gt;=&quot;</span>,<span style="color: #ff0000;">&quot;&#038;lt;=&quot;</span>,<span style="color: #ff0000;">&quot;!=&quot;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$i</span>=<span style="color: #cc66cc;">0</span>;<span style="color: #0000ff;">$i</span>&lt;count<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$mixedParams</span><span style="color: #66cc66;">&#41;</span>;<span style="color: #0000ff;">$i</span>++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
		<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/in_array"><span style="color: #000066;">in_array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$mixedParams</span><span style="color: #66cc66;">&#91;</span><span style="color: #0000ff;">$i</span><span style="color: #66cc66;">&#93;</span>,<span style="color: #0000ff;">$_a</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
		<a href="http://www.php.net/eval"><span style="color: #000066;">eval</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'$_'</span>.<span style="color: #0000ff;">$cmp</span>.<span style="color: #ff0000;">'=((<span style="color: #000099; font-weight: bold;">\'</span>'</span>.<span style="color: #0000ff;">$_0</span>.<span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\'</span>'</span>.<span style="color: #0000ff;">$mixedParams</span><span style="color: #66cc66;">&#91;</span><span style="color: #0000ff;">$i</span><span style="color: #66cc66;">&#93;</span>.<span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\'</span>'</span>.<span style="color: #0000ff;">$_1</span>.<span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\'</span>));'</span>.<span style="color: #ff0000;">''</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$_</span>;
<span style="color: #66cc66;">&#125;</span></pre>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: pablasso</title>
		<link>http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14412</link>
		<dc:creator>pablasso</dc:creator>
		<pubDate>Thu, 07 Feb 2008 05:30:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14412</guid>
		<description>shakaran, no ayuda nada a la eficiencia de ese código solamente tenerlo en una sola linea (mucho menos aun utilizar un ciclo para cada combinación multiple!), es la misma locura inmensa pero revolcada.

Aquí el problema es tratar de reducir el numero de combinaciones a revisar, que seguro no todas las combinaciones posibles dan resultados distintos..

Instala un plugin para darle seguimiento a los comentarios victor!</description>
		<content:encoded><![CDATA[<p>shakaran, no ayuda nada a la eficiencia de ese código solamente tenerlo en una sola linea (mucho menos aun utilizar un ciclo para cada combinación multiple!), es la misma locura inmensa pero revolcada.</p>
<p>Aquí el problema es tratar de reducir el numero de combinaciones a revisar, que seguro no todas las combinaciones posibles dan resultados distintos..</p>
<p>Instala un plugin para darle seguimiento a los comentarios victor!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor De la Rocha</title>
		<link>http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14329</link>
		<dc:creator>Victor De la Rocha</dc:creator>
		<pubDate>Mon, 04 Feb 2008 19:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14329</guid>
		<description>Si, fué una locura. Al día siguiente vine en si, y sólo quedó como historía... 

Al final de cuentas lo que setFiltro hace, es crear una consulta SQL en base a lo que esté activado.

Utilicé el operador ternario y concatenaciónes y quedó algo super reducido de no mas de 10 líneas y eso por que utilicé saltos de línea para que el código quede legible.

Gracias :D</description>
		<content:encoded><![CDATA[<p>Si, fué una locura. Al día siguiente vine en si, y sólo quedó como historía... </p>
<p>Al final de cuentas lo que setFiltro hace, es crear una consulta SQL en base a lo que esté activado.</p>
<p>Utilicé el operador ternario y concatenaciónes y quedó algo super reducido de no mas de 10 líneas y eso por que utilicé saltos de línea para que el código quede legible.</p>
<p>Gracias <img src='http://www.mis-algoritmos.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shakaran</title>
		<link>http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14327</link>
		<dc:creator>shakaran</dc:creator>
		<pubDate>Mon, 04 Feb 2008 18:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14327</guid>
		<description>Creo que has hecho una locura inmensa. Porque todo ese código tiene muchísimo coste en eficiencia para generarse, aparte de que luego para ejecutarse sera mucho mayor, con lo que produce un resultado muy negativo para el cliente.

He observado el código y parece que solo llamas a la funcion setFilter con los tipos que se activan, por lo tanto creo que es innecesario comprobar los que no sean y meterlos como condición.

Puedes probar esto a ver si te ayuda en la solución a tu problema:

[php]setFiltro(array('Search'=&#62;$Search));
if(is('Type')) $this-&#62;setFiltro(array('Type'=&#62;$Type));
if(is('Category')) $this-&#62;setFiltro(array('Category'=&#62;$Category));
if(is('Date')) $this-&#62;setFiltro(array('Datec'=&#62;$Date));
if(is('Option1')) $this-&#62;setFiltro(array('Option1'=&#62;$Option1));
if(is('Option2')) $this-&#62;setFiltro(array('Option2'=&#62;$Option2));
if(is('OptionEtc')) $this-&#62;setFiltro(array('OptionEtc'=&#62;$OptionEtc));[/php]

# Aunque para N opciones quedaria mas eficiente y elegante un foreach con los filtros a pasar
[php]foreach($filtro =&#62; $f as $v) if(is($v)) $this-&#62;setFiltro(array($v=&#62;${$v}));
?&#62;[/php]
 
No me he leido todo el articulo, pero creo que es eso lo que querias. Por otro lado, no he compilado este código que te he escrito a si puede ser que falte alguna comilla, parentesis o punto y coma.

Espero que te ayude.</description>
		<content:encoded><![CDATA[<p>Creo que has hecho una locura inmensa. Porque todo ese código tiene muchísimo coste en eficiencia para generarse, aparte de que luego para ejecutarse sera mucho mayor, con lo que produce un resultado muy negativo para el cliente.</p>
<p>He observado el código y parece que solo llamas a la funcion setFilter con los tipos que se activan, por lo tanto creo que es innecesario comprobar los que no sean y meterlos como condición.</p>
<p>Puedes probar esto a ver si te ayuda en la solución a tu problema:</p>
<div class="hiliter"><strong>php: </strong>
<pre class="php">setFiltro<span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Search'</span>=&gt;<span style="color: #0000ff;">$Search</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>is<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Type'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">setFiltro</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Type'</span>=&gt;<span style="color: #0000ff;">$Type</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>is<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Category'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">setFiltro</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Category'</span>=&gt;<span style="color: #0000ff;">$Category</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>is<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Date'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">setFiltro</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Datec'</span>=&gt;<span style="color: #0000ff;">$Date</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>is<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Option1'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">setFiltro</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Option1'</span>=&gt;<span style="color: #0000ff;">$Option1</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>is<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Option2'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">setFiltro</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Option2'</span>=&gt;<span style="color: #0000ff;">$Option2</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>is<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'OptionEtc'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">setFiltro</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'OptionEtc'</span>=&gt;<span style="color: #0000ff;">$OptionEtc</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</pre>
</div>
<p># Aunque para N opciones quedaria mas eficiente y elegante un foreach con los filtros a pasar</p>
<div class="hiliter"><strong>php: </strong>
<pre class="php"><span style="color: #b1b100;">foreach</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$filtro</span> =&gt; <span style="color: #0000ff;">$f</span> <span style="color: #b1b100;">as</span> <span style="color: #0000ff;">$v</span><span style="color: #66cc66;">&#41;</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>is<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$v</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0000ff;">$this</span>-&gt;<span style="color: #006600;">setFiltro</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/array"><span style="color: #000066;">array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$v</span>=&gt;$<span style="color: #66cc66;">&#123;</span><span style="color: #0000ff;">$v</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre>
</div>
<p>No me he leido todo el articulo, pero creo que es eso lo que querias. Por otro lado, no he compilado este código que te he escrito a si puede ser que falte alguna comilla, parentesis o punto y coma.</p>
<p>Espero que te ayude.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor De la Rocha</title>
		<link>http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14169</link>
		<dc:creator>Victor De la Rocha</dc:creator>
		<pubDate>Wed, 30 Jan 2008 23:40:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14169</guid>
		<description>Interesante, y tanto que odié los mapas de Karnaugh uff no creí llegaran a recordarmelos tan pronto uff // Leeré un poco, preguntaré a conocidos... igual y por ahí va la solución óptima :P

Es mas, creí que nadie comentaría en este tema del blog :D</description>
		<content:encoded><![CDATA[<p>Interesante, y tanto que odié los mapas de Karnaugh uff no creí llegaran a recordarmelos tan pronto uff // Leeré un poco, preguntaré a conocidos... igual y por ahí va la solución óptima <img src='http://www.mis-algoritmos.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Es mas, creí que nadie comentaría en este tema del blog <img src='http://www.mis-algoritmos.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PoKeSaFaRi</title>
		<link>http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14166</link>
		<dc:creator>PoKeSaFaRi</dc:creator>
		<pubDate>Wed, 30 Jan 2008 22:51:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mis-algoritmos.com/2008/01/29/generating-ifs-automatically-when-we-have-a-list-of-parameters/#comment-14166</guid>
		<description>Claro, si entra en varios IFs.. entonces un switch es inutil. Pero si, ya entiendo por donde vas.

Me pregunto si haciendo alguna cosa rara como una tabla de Karnaugh o algo se podría reducir el número de condicionales en esta tabla de la verdad. Porque digo yo que debe haber alguna forma de minimizar tanta expresion lógica... ¡Estaría bien probarlo! :D</description>
		<content:encoded><![CDATA[<p>Claro, si entra en varios IFs.. entonces un switch es inutil. Pero si, ya entiendo por donde vas.</p>
<p>Me pregunto si haciendo alguna cosa rara como una tabla de Karnaugh o algo se podría reducir el número de condicionales en esta tabla de la verdad. Porque digo yo que debe haber alguna forma de minimizar tanta expresion lógica... ¡Estaría bien probarlo! <img src='http://www.mis-algoritmos.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
