<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>The Algorithm Base, Papers, Intelligence United</title>
	<atom:link href="http://www.intelligenceunited.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.intelligenceunited.com</link>
	<description>Algorithm Base,Papers,Tutorials</description>
	<pubDate>Mon, 06 Dec 2010 03:59:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Convert Arabic number to Roman numerals</title>
		<link>http://www.intelligenceunited.com/?p=3312</link>
		<comments>http://www.intelligenceunited.com/?p=3312#comments</comments>
		<pubDate>Mon, 06 Dec 2010 03:51:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Programming & Development]]></category>

		<category><![CDATA[Algorithm Base]]></category>

		<category><![CDATA[Convert Arabic number]]></category>

		<category><![CDATA[Roman numerals]]></category>

		<guid isPermaLink="false">http://www.intelligenceunited.com/?p=3312</guid>
		<description><![CDATA[Langage :                                                      [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Langage :                                                        <span style="font-weight: bold;"> VB6 </span> ,                      <span style="font-weight: bold;"> VBA </span></p>
<p>Public Function ToRoman(ByVal vnNumber As Integer) As String<br />
    Do While vnNumber >= 1000<br />
        ToRoman = ToRoman &#038; &#8220;M&#8221;<br />
        vnNumber = vnNumber - 1000<br />
    Loop<br />
    If vnNumber >= 900 Then<br />
        ToRoman = ToRoman &#038; &#8220;CM&#8221;<br />
        vnNumber = vnNumber - 900<br />
    End If<br />
    If vnNumber >= 500 Then<br />
        ToRoman = ToRoman &#038; &#8220;D&#8221;<br />
        vnNumber = vnNumber - 500<br />
    ElseIf vnNumber >= 400 Then<br />
        ToRoman = ToRoman &#038; &#8220;CD&#8221;<br />
        vnNumber = vnNumber - 400<br />
    End If<br />
    Do While vnNumber >= 100<br />
        ToRoman = ToRoman &#038; &#8220;C&#8221;<br />
        vnNumber = vnNumber - 100<br />
    Loop<br />
    If vnNumber >= 90 Then<br />
        ToRoman = ToRoman &#038; &#8220;XC&#8221;<br />
        vnNumber = vnNumber - 90<br />
    End If<br />
    If vnNumber >= 50 Then<br />
        ToRoman = ToRoman &#038; &#8220;L&#8221;<br />
        vnNumber = vnNumber - 50<br />
    ElseIf vnNumber >= 40 Then<br />
        ToRoman = ToRoman &#038; &#8220;XL&#8221;<br />
        vnNumber = vnNumber - 40<br />
    End If<br />
    Do While vnNumber >= 10<br />
        ToRoman = ToRoman &#038; &#8220;X&#8221;<br />
        vnNumber = vnNumber - 10<br />
    Loop<br />
    If vnNumber = 9 Then<br />
        ToRoman = ToRoman &#038; &#8220;IX&#8221;<br />
    Else<br />
        If vnNumber >= 5 Then<br />
            ToRoman = ToRoman &#038; &#8220;V&#8221;<br />
            vnNumber = vnNumber - 5<br />
        End If<br />
        If vnNumber = 4 Then<br />
            ToRoman = ToRoman &#038; &#8220;IV&#8221;<br />
        Else<br />
            Do While vnNumber >= 1<br />
                ToRoman = ToRoman &#038; &#8220;I&#8221;<br />
                vnNumber = vnNumber - 1<br />
            Loop<br />
        End If<br />
    End If<br />
End Function </p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelligenceunited.com/?feed=rss2&amp;p=3312</wfw:commentRss>
		</item>
		<item>
		<title>Primes - sieve of Eratosthenes</title>
		<link>http://www.intelligenceunited.com/?p=3309</link>
		<comments>http://www.intelligenceunited.com/?p=3309#comments</comments>
		<pubDate>Sun, 05 Dec 2010 06:29:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Algorithm Base]]></category>

		<category><![CDATA[algorithm]]></category>

		<category><![CDATA[metaphorically speaking]]></category>

		<category><![CDATA[prime numbers]]></category>

		<guid isPermaLink="false">http://www.intelligenceunited.com/?p=3309</guid>
		<description><![CDATA[One of the methods as easy to find prime numbers, is called Sieve of Eratosthenes. Now zoom in, as this screen works. You can also download my program that generates prime numbers just by this algorithm.
Sieve is called because, first of all the numbers denote a prime and gradually &#8220;prosivame&#8221; so that eventually we, metaphorically [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">One of the methods as easy to find prime numbers, is called Sieve of Eratosthenes. Now zoom in, as this screen works. You can also download my program that generates prime numbers just by this algorithm.</p>
<p style="text-align: justify;">Sieve is called because, first of all the numbers denote a prime and gradually &#8220;prosivame&#8221; so that eventually we, metaphorically speaking, made up numbers (neprvocisla) remain below the screen and the prime sieve.</p>
<p style="text-align: justify;"><strong>Data network can save the prime example in this field:</strong></p>
<p style="text-align: justify;"><strong>var ErastSito: Array of Boolean;</strong></p>
<p style="text-align: justify;">Fields can do so much as we need. So, if we want to identify prime numbers from 0 to 200, so the field will be 201 spaces. (Indexed array count from 0) array index tells us the number and value of logic tells us whether it is a prime number. True, therefore indicates that this is a prime, False, it is not a prime number.<span id="more-3309"></span></p>
<p style="text-align: justify;">First, all the numbers in the desired range as a prime mark. Specifically, here you fill the same amount of field ErastSito True.</p>
<p style="text-align: justify;">Gradually, we take the numbers from the lowest ranks, of which we know are primes. We take the lowest number, which we know absolutely that it is prime. Then mark all the multiples of other numbers as neprvocisla. Then proceed to the next lowest prime number, and again denote all other multiples of the neprvocisla. Thus we go through the entire field and finally we left with only prime numbers. Algorithm is still treated in the direction of the prime, which is able to throw one of your times, has a linking requirement Prime-2 * &lt;= range. The range is the maximum number verified. It&#8217;s understandable, because the first number that would be a multiple of prime numbers, it was number 2 * prime, and if this number was outside the scope of survey, so I throw anything on the basis of this can not be prime. Moreover, we must avoid endless browsing field.<br />
Example</p>
<p style="text-align: justify;">Specifically, we start by the number 2 The numbers 0 and 1, we know that they are not prime, so he is right on the mark as a false start. We know that the closest any other number, starting with 2, we have taken out of storage, is 100% prime. So we take this field and the lowest prime ErastSito discarded as prime all multiples.</p>
<p style="text-align: justify;">For example, a field from 0 to 17 after passing SITEM Prime 2 will be as follows:</p>
<p style="text-align: justify;">0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17</p>
<p style="text-align: justify;">Then go to the next lowest prime number that is greater than 2 It consists of a number 3 And again, we throw away the box (set to False) all of its multiples.</p>
<p style="text-align: justify;">Field from 0 to 17 after passing SITEM Prime 2, 3 will look for more &#8220;simple&#8221;:</p>
<p style="text-align: justify;">0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17</p>
<p style="text-align: justify;">Then we have the number 4, but it is labeled as a composite number (not prime), so we have to find another the next higher prime number. Is it 5, and again you mark all the multiples of 5 as neprvocisla. In this way the primes are thin and eventually left with only prime numbers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelligenceunited.com/?feed=rss2&amp;p=3309</wfw:commentRss>
		</item>
		<item>
		<title>Basic propositional logic - 1 / 1</title>
		<link>http://www.intelligenceunited.com/?p=3306</link>
		<comments>http://www.intelligenceunited.com/?p=3306#comments</comments>
		<pubDate>Sun, 05 Dec 2010 06:17:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Programming & Development]]></category>

		<category><![CDATA[logic truth]]></category>

		<category><![CDATA[Negation of complex utterances]]></category>

		<category><![CDATA[program]]></category>

		<guid isPermaLink="false">http://www.intelligenceunited.com/?p=3306</guid>
		<description><![CDATA[If you program, so be sure to meet that need znegovat condition such as &#8220;if&#8221; a particular expression. For these and other cases you can use the following simple rules of  logic truth.
Truth Table



A
B
! A
A and B
A or B
A =&#62; B
A &#60;=&#62; B


1
1
0
1
1
1
1


1
0
0
0
1
0
0


0
1
1
0
1
1
0


0
0
1
0
0
1
1



Statements that are equal (tautology)
Implication



A =&#62; B
&#60;=&#62;
! B =&#62;! A


A =&#62; B
&#60;=&#62;
! A [...]]]></description>
			<content:encoded><![CDATA[<p>If you program, so be sure to meet that need znegovat condition such as &#8220;if&#8221; a particular expression. For these and other cases you can use the following simple rules of  logic truth.</p>
<h2>Truth Table</h2>
<table class="table1" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th>A</th>
<th>B</th>
<th>! A</th>
<th>A and B</th>
<th>A or B</th>
<th>A =&gt; B</th>
<th>A &lt;=&gt; B</th>
</tr>
<tr>
<td>1</td>
<td>1</td>
<td>0</td>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
</tr>
<tr>
<td>1</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<td>0</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>1</td>
<td>1</td>
<td>0</td>
</tr>
<tr>
<td>0</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>1</td>
</tr>
</tbody>
</table>
<h2><span id="more-3306"></span>Statements that are equal (tautology)</h2>
<h3>Implication</h3>
<table class="table1" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>A =&gt; B</td>
<td>&lt;=&gt;</td>
<td>! B =&gt;! A</td>
</tr>
<tr>
<td>A =&gt; B</td>
<td>&lt;=&gt;</td>
<td>! A or B</td>
</tr>
</tbody>
</table>
<h2>Negation of complex utterances</h2>
<table class="table1" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th>Compound statement</th>
<th>The negation</th>
</tr>
<tr>
<td>A and B</td>
<td>! (A and B) &lt;=&gt;! A or! B</td>
</tr>
<tr>
<td>A or B</td>
<td>! (A or B) &lt;=&gt;! A and! B</td>
</tr>
<tr>
<td>A =&gt; B</td>
<td>! (A =&gt; B) &lt;=&gt; A and! B</td>
</tr>
<tr>
<td>A &lt;=&gt; B</td>
<td>! (A &lt;=&gt; B) &lt;=&gt; (A and! B) or (! A and B)</td>
</tr>
</tbody>
</table>
<p class="note">Note: &#8220;!&#8221; means not, or negation</p>
<div class="pageleft"></div>
<div class="pageright"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.intelligenceunited.com/?feed=rss2&amp;p=3306</wfw:commentRss>
		</item>
		<item>
		<title>Genetic Algorithms and Mathematical</title>
		<link>http://www.intelligenceunited.com/?p=3302</link>
		<comments>http://www.intelligenceunited.com/?p=3302#comments</comments>
		<pubDate>Thu, 02 Dec 2010 05:26:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Genetic algorithms]]></category>

		<category><![CDATA[function is dynamic]]></category>

		<category><![CDATA[Mathematical]]></category>

		<guid isPermaLink="false">http://www.intelligenceunited.com/?p=3302</guid>
		<description><![CDATA[There are optimization problems can be solved by implementing a traditional algorithm. In this case it is best to use.
For example: If we have the &#8220;It&#8217;s twice,&#8221; this can be interpreted as:
Equation 1 
This is also valid for Boolean functions (returning a value of True or False). For example, the function is greater than &#8220;can [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">There are optimization problems can be solved by implementing a traditional algorithm. In this case it is best to use.</p>
<p style="text-align: justify;"><strong>For example:</strong> If we have the &#8220;It&#8217;s twice,&#8221; this can be interpreted as:</p>
<p style="text-align: justify;"><strong>Equation 1 </strong></p>
<p style="text-align: justify;">This is also valid for Boolean functions (returning a value of True or False). For example, the function is greater than &#8220;can be interpreted as</p>
<p style="text-align: justify;"><strong>Equation 2</strong></p>
<p style="text-align: justify;"><a href="http://www.intelligenceunited.com/wp-content/uploads/2010/12/genetic-algorithms-and-mathematical.gif"><img class="aligncenter size-full wp-image-3303" title="genetic-algorithms-and-mathematical" src="http://www.intelligenceunited.com/wp-content/uploads/2010/12/genetic-algorithms-and-mathematical.gif" alt="genetic-algorithms-and-mathematical" width="146" height="22" /></a></p>
<p style="text-align: justify;">To solve a problem as a solution requiring only know which number is bigger, it is more efficient to use the mathematical algorithm directly. <span id="more-3302"></span></p>
<p style="text-align: justify;">However, these were not applicable to problems having some of these features:</p>
<p style="text-align: justify;">The representative function of the problem is not continuous. In this case it is not computable. Genetic algorithms can work with all types of functions, and to find an acceptable minimum if you can not find the optimum.</p>
<p style="text-align: justify;">The representative function is dynamic: The ratio of variable changes depending on the values that make them. This relationship can be noticed or not. Type rules</p>
<ul style="text-align: justify;">
<li>&#8220;X equals Y if the value of X is small;</li>
<li>X is 1.5, and if the value of X is large</li>
<li>not know what happens to average values of X &#8220;</li>
</ul>
<p style="text-align: justify;">can not be converted into an algebraic algorithm since there are missing values. Unlike a traditional algorithm, a genetic algorithm can be designed to work under these conditions.<br />
Genetic algorithms and enumerative methods</p>
<p style="text-align: justify;">There is a theoretical possibility of finding solutions to optimization problems by enumerating all possible solutions for all cases and then looking for the same in the resulting database. The problems are then limited to a system of efficient search of the case. For example, books with traditional log tables consist of a long series of calculations for all usual values. The solution is simply to search the list and return the decimal number as the log.</p>
<p style="text-align: justify;">Memorizing multiplication tables are taught to children is another common example. It is expected that when asked how much is seven times five? children respond instantly &#8220;35&#8243; without having to mentally calculate multiplication.</p>
<p style="text-align: justify;">This method is feasible provided that the number of values to be manageable. Otherwise the same simple calculation becomes impossible. Example: Generate a table containing all the moves of all possible games of checkers would be impossible in practice.</p>
<p style="text-align: justify;">The &#8220;memory&#8221; of a set of data is not nothing but construction in memory equivalent to a database that seeks to question and automatically finds the answer.</p>
<p style="text-align: justify;">Genetic algorithms use heuristics to solve problems, which severely limits the number of data to use.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelligenceunited.com/?feed=rss2&amp;p=3302</wfw:commentRss>
		</item>
		<item>
		<title>How to use a Genetic Algorithm</title>
		<link>http://www.intelligenceunited.com/?p=3300</link>
		<comments>http://www.intelligenceunited.com/?p=3300#comments</comments>
		<pubDate>Thu, 02 Dec 2010 05:08:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Genetic algorithms]]></category>

		<category><![CDATA[fitness function]]></category>

		<category><![CDATA[optimization problems]]></category>

		<category><![CDATA[range of solutions]]></category>

		<guid isPermaLink="false">http://www.intelligenceunited.com/?p=3300</guid>
		<description><![CDATA[The most common application of genetic algorithms has been the solution of optimization problems, where they have proven to be very efficient and reliable. However, not all problems could be appropriate for the technique, and is generally recommended to take into account the following characteristics of before trying to use:

Your search space (ie, possible solutions) [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">The most common application of genetic algorithms has been the solution of optimization problems, where they have proven to be very efficient and reliable. However, not all problems could be appropriate for the technique, and is generally recommended to take into account the following characteristics of before trying to use:</p>
<ul style="text-align: justify;">
<li>Your search space (ie, possible solutions) should be bounded within a certain range.</li>
<li> Must be able to define a fitness function that tells us how good or bad a certain response.</li>
<li> The solutions must be encoded in a manner that is relatively easy to implement on the computer.<span id="more-3300"></span></li>
</ul>
<p style="text-align: justify;">The first point is very important, and it is best to try to solve problems with discrete search spaces even though they are very large. However, you can also try using the technique with continuous search spaces, but preferably where there is a relatively small range of solutions.</p>
<p style="text-align: justify;">The fitness function is simply the objective function of our optimization problem. The genetic algorithm only maximized, but can be easily minimized by using the reciprocal of the function maximizing (be careful, of course, that the reciprocal of the function does not generate a division by zero). One feature that should have this feature is that it be able to &#8220;punish&#8221; bad solutions, and to &#8220;reward&#8221; for good, so are the latter which spread more quickly.</p>
<p style="text-align: justify;">The most common encoding of the solutions is by binary strings, although they have also used real numbers and letters. The first of these schemes has enjoyed much popularity because it is the Holland originally proposed, and because it is very easy to implement.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelligenceunited.com/?feed=rss2&amp;p=3300</wfw:commentRss>
		</item>
		<item>
		<title>Role objective</title>
		<link>http://www.intelligenceunited.com/?p=3297</link>
		<comments>http://www.intelligenceunited.com/?p=3297#comments</comments>
		<pubDate>Wed, 01 Dec 2010 05:39:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Genetic algorithms]]></category>

		<guid isPermaLink="false">http://www.intelligenceunited.com/?p=3297</guid>
		<description><![CDATA[Two aspects that are crucial in the behavior of genetic algorithms are the de- termination of adequate adaptation function or objective function, and encoding used.Ideally we would construct objective functions with &#8220;certain regularities&#8217;, ie function tions aim to verify that for two individuals who are close in space search, their respective values in the objective [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Two aspects that are crucial in the behavior of genetic algorithms are the de- termination of adequate adaptation function or objective function, and encoding used.Ideally we would construct objective functions with &#8220;certain regularities&#8217;, ie function tions aim to verify that for two individuals who are close in space search, their respective values in the objective functions are similar. Moreover a difficulty in the performance of genetic algorithm can be the existence of large numbers of local optimum, as well as the fact that global eloptimo is very isolated.</p>
<p style="text-align: justify;">The general rule for building a good objective function is queesta should reflect the value of individual in a &#8220;real&#8221;, but in many combinatorial optimization problems, where there are lots of restrictions, many of the points in the search space represented such individuals are not valid.<span id="more-3297"></span></p>
<p style="text-align: justify;">For this approach in which individuals are subject to restrictions have been proposed several solutions. The first would be what might be termed absolute, in which those in- viduals who do not check the restrictions are not considered as such and are still made crossover and mutation to obtain valid individuals or such individuals are assigned a objective function equal to zero.</p>
<p style="text-align: justify;">Another possibility is to rebuild those individuals who do not check the restrictions. This reconstruction is usually performed by a new operator that used to be called sleep.</p>
<p style="text-align: justify;">Another approach is based on the penalization of the objective function. The general idea is dividing the objective function of the individual by an amount (the penalty) it relates to that such restrictions violate individual. This amount can simply take into account the number of constraints well known violadaso expected cost of reconstruction, ie . Cost associated with the conversion of that individual in another that does not violate any restriction.</p>
<p style="text-align: justify;">Another technique that has been used in cases where the computation of the objective function very complex is called approximate evaluation of the objective function. In some cases 0n obtaining approximate objective functions may be better than the exact evaluation<br />
unaunica objective function (of course if the review is at least approximately n times faster than the exact evaluation).</p>
<p style="text-align: justify;">A common problem in the execution of genetic algorithms arises because of the speed with which the algorithm converges. In some cases the convergence is very fast, often called premature convergence, in which the local haciaoptimos algorithm converges, while while in other cases the problem is just the opposite, ie there is a slow convergence algorithm. One possible solution to these problems is by making changes in the<br />
objective function.</p>
<p style="text-align: justify;">The problem of premature convergence, often arises when the selection of individuals is made in proportion to their objective function. If so, can existingtir individuals with an adaptation to the problem than the rest, which moves forward algorithm &#8220;dominate&#8221; the population. Through a transformation of the objective function in this case an understanding of the range of variation of the objective function, it is intended that these &#8220;Superindividuos&#8221; not come to dominate the population.</p>
<p style="text-align: justify;">The problem of slow convergence of the algorithm, would be resolved similarly, but in this If making an expansion of the range of the objective function.</p>
<p style="text-align: justify;">The idea of species of organisms, has been imitated in the design of genetic algorithms a method proposed by Goldberg and Richardson (1987), using a modification of the function objective of each individual, so that individuals who are very close to each other devalued its objective function, so that the population gains in diversity</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelligenceunited.com/?feed=rss2&amp;p=3297</wfw:commentRss>
		</item>
		<item>
		<title>Principles of selection</title>
		<link>http://www.intelligenceunited.com/?p=3294</link>
		<comments>http://www.intelligenceunited.com/?p=3294#comments</comments>
		<pubDate>Mon, 29 Nov 2010 03:26:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Genetic algorithms]]></category>

		<category><![CDATA[complex problems]]></category>

		<category><![CDATA[successive derivatives]]></category>

		<guid isPermaLink="false">http://www.intelligenceunited.com/?p=3294</guid>
		<description><![CDATA[Unlike other optimization techniques, genetic algorithms do not require any particular assumption on the regularity of the objective function. The genetic algorithm does not include its successive derivatives, which makes her very wide scope. No assumption on the continuity is not required. However, in practice, genetic algorithms are sensitive to the regularity of the functions [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Unlike other optimization techniques, genetic algorithms do not require any particular assumption on the regularity of the objective function. The genetic algorithm does not include its successive derivatives, which makes her very wide scope. No assumption on the continuity is not required. However, in practice, genetic algorithms are sensitive to the regularity of the functions that they optimize. <span id="more-3294"></span></p>
<p style="text-align: justify;">The few assumptions required can handle very complex problems. The function to be optimized can be the result of a simulation.</p>
<p style="text-align: justify;">The selection identifies statistically the best individuals of a population and eliminate the bad. Found in the literature a number of important principles for selecting more or less adapted to the problems they treat. As part of our work, the two selection principles listed below were tested and evaluated:</p>
<ul style="text-align: justify;">
<li>Roulette wheel selection [ Gol89c ];</li>
<li> Stochastic Remainder Without replacement selection [ Gol89c ];</li>
</ul>
<p style="text-align: justify;">The principle of Roulette wheel selection 2 is associated with each individual segment whose length is proportional to its fitness. We reproduce here the principle of random selection used in the wheels of casinos with a linear structure. These segments are then concatenated on an axis that is normalized between 0 and 1. It then draws a random number uniformly distributed between 0 and 1, then what is &#8220; looking at&#8221;the selected segment. With this system, large segments, that is to say the right individuals will be addressed more often than small ones. When the population size is reduced, it is difficult to obtain in practice the expectation of selection because of the lack of prints. Selection bias is stronger or weaker depending on the size of the population.</p>
<p style="text-align: justify;">The Stochastic Remainder Without replacement selection avoids this problem and gives good results for our applications. Describe this principle of selection:</p>
<ul style="text-align: justify;">
<li> For each element i, we calculate the ratio r i of its fitness on the average fitness.</li>
<li> Let e (r i) the integer part of r i, each element is reproduced exactly e (r i) times.</li>
<li> Roulette wheel selection described above is applied to the affected individuals of fitness r i - e (r i).</li>
</ul>
<p style="text-align: justify;">Given the fact that small populations will be used later, this principle of selection is most effective in practical applications and will be used later.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelligenceunited.com/?feed=rss2&amp;p=3294</wfw:commentRss>
		</item>
		<item>
		<title>Mutation Operator</title>
		<link>http://www.intelligenceunited.com/?p=3290</link>
		<comments>http://www.intelligenceunited.com/?p=3290#comments</comments>
		<pubDate>Mon, 29 Nov 2010 03:21:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Genetic algorithms]]></category>

		<category><![CDATA[operator theory]]></category>

		<category><![CDATA[strictly speaking]]></category>

		<category><![CDATA[the genetic algorithm]]></category>

		<guid isPermaLink="false">http://www.intelligenceunited.com/?p=3290</guid>
		<description><![CDATA[The mutation operator gives the genetic algorithms ergodicity property of space travel. This property indicates that the genetic algorithm is capable of reaching all parts of the state space, without all the travel in the solution process. So strictly speaking, the genetic algorithm can converge without crossing, and some implementations work this way. The convergence [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">The mutation operator gives the genetic algorithms ergodicity property of space travel. This property indicates that the genetic algorithm is capable of reaching all parts of the state space, without all the travel in the solution process. So strictly speaking, the genetic algorithm can converge without crossing, and some implementations work this way. The convergence properties of genetic algorithms are strongly dependent on the operator theory.<span id="more-3290"></span></p>
<p style="text-align: justify;">For discrete problems, the mutation operator is usually to draw a random gene in the chromosome and replaced by a random value (see Figure-1 ). If the notion of distance exists, this value can be chosen in the vicinity of the initial value.</p>
<p style="text-align: justify;"><a href="http://www.intelligenceunited.com/wp-content/uploads/2010/11/mutation-operator.gif"><img class="aligncenter size-full wp-image-3291" title="mutation-operator" src="http://www.intelligenceunited.com/wp-content/uploads/2010/11/mutation-operator.gif" alt="mutation-operator" width="247" height="282" /></a></p>
<p style="text-align: justify;">In the ongoing problems, the procedure is somewhat the same way by taking a random gene in the chromosome, plus a Gaussian noise generally. The standard deviation of this noise is difficult to choose a priori. We discuss this issue in more detail, presenting a primer solution, in Section</p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelligenceunited.com/?feed=rss2&amp;p=3290</wfw:commentRss>
		</item>
		<item>
		<title>Overall algorithm</title>
		<link>http://www.intelligenceunited.com/?p=3286</link>
		<comments>http://www.intelligenceunited.com/?p=3286#comments</comments>
		<pubDate>Sat, 27 Nov 2010 04:27:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Genetic algorithms]]></category>

		<category><![CDATA[generated initial]]></category>

		<category><![CDATA[Overall algorithm]]></category>

		<category><![CDATA[rtificial individuals]]></category>

		<guid isPermaLink="false">http://www.intelligenceunited.com/?p=3286</guid>
		<description><![CDATA[A GA tries to find the optimum by starting with a randomly generated initial population of artificial individuals a generation of children by applying the genetic operators selection, crossing and mutation generated. This then becomes the new parent population and forms the basis for the next child population, and so on. In the course of [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">A GA tries to find the optimum by starting with a randomly generated initial population of artificial individuals a generation of children by applying the genetic operators selection, crossing and mutation generated. This then becomes the new parent population and forms the basis for the next child population, and so on. In the course of the formation of ever new populations of children should always continue the search optimum approach.<span id="more-3286"></span></p>
<p style="text-align: justify;">The figure below shows schematically an iteration of the GA to form two new individuals of a population of children. This step is repeated until the child population is complete.</p>
<p style="text-align: justify;"><a href="http://www.intelligenceunited.com/wp-content/uploads/2010/11/overall-algorithm.gif"><img class="aligncenter size-medium wp-image-3287" title="overall-algorithm" src="http://www.intelligenceunited.com/wp-content/uploads/2010/11/overall-algorithm-300x130.gif" alt="overall-algorithm" width="300" height="130" /></a></p>
<p style="text-align: justify;">The process of production of child populations is continued until a termination condition is met. As a termination condition is suitable, the number of calculated generations or the fitness value of population (average or best). If no improvement of fitness value higher, so the search be aborted.</p>
<p style="text-align: justify;">
]]></content:encoded>
			<wfw:commentRss>http://www.intelligenceunited.com/?feed=rss2&amp;p=3286</wfw:commentRss>
		</item>
		<item>
		<title>Brief Introduction</title>
		<link>http://www.intelligenceunited.com/?p=3283</link>
		<comments>http://www.intelligenceunited.com/?p=3283#comments</comments>
		<pubDate>Sat, 27 Nov 2010 04:13:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Genetic algorithms]]></category>

		<category><![CDATA[artificial  individuals]]></category>

		<category><![CDATA[Brief Introduction]]></category>

		<category><![CDATA[stochastic search methods]]></category>

		<guid isPermaLink="false">http://www.intelligenceunited.com/?p=3283</guid>
		<description><![CDATA[
Genetic algorithms are
among the stochastic search methods. This attempt on the basis of one or more
feasible solutions (points in the solution space / search space) to approach
step by step, the optimal solution. 

GA work with a lot of
these points / acceptable solutions. This is also referred to as artificial
individuals. 


All of the genetic
algorithms - Applications [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">
<span style="font-size: 100%; background-position: 0% 0%">Genetic algorithms are<br />
among the stochastic search methods. This attempt on the basis of one or more<br />
feasible solutions (points in the solution space / search space) to approach<br />
step by step, the optimal solution. </span></p>
<p align="justify">
<span style="font-size: 100%; background-position: 0% 0%">GA work with a lot of<br />
these points / acceptable solutions. This is also referred to as artificial<br />
individuals. </span></p>
<p><span id="more-3283"></span></p>
<p align="justify">
<span style="font-size: 100%; background-position: 0% 0%">All of the genetic<br />
algorithms - Applications summarized examples were based on a simple<br />
binary-coded GA programmed (JSGA: JAVA based Simple Genetic Algorithm). GA work<br />
on the basis of artificial individuals that exist (according to the nature) of a<br />
set of chromosomes and a fitness value. In nature, the fitness value must be a<br />
complex quantity that really describes the adaptation of the individual to the<br />
environment. It can also be a single variable (such as length, eye color ,..).<br />
Depending on what is the subject of consideration. In the context of genetic<br />
algorithms starts from the simple assumption that a link between the chromosomes<br />
and the fitness value exists and that any change of the chromosome set in a<br />
change of fitness value leads. If there are identical sets of chromosomes, the<br />
same changes lead to the chromosome sets of identical fitness value changes. The<br />
following comments relate to the application example, maximum search . Here, the<br />
maximum of a 2-D function (y = f (x)) are determined using a genetic algorithm.<br />
In the example, various functions can be selected. We want to refer to the<br />
following examples of selection, crossover and mutation on the function F0 of<br />
the application example (opposite).</span></p>
<p><a href="http://www.intelligenceunited.com/wp-content/uploads/2010/11/genetic-algorithms.jpg"><img src="http://www.intelligenceunited.com/wp-content/uploads/2010/11/genetic-algorithms-300x209.jpg" alt="genetic-algorithms" title="genetic-algorithms" width="300" height="209" class="aligncenter size-medium wp-image-3284" /></a></p>
<p align="justify">
<font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
<font style="-moz-background-clip: border; -moz-background-origin: padding; -moz-background-size: auto auto; font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background-image: url('http://techni.tachemie.uni-leipzig.de/jsga/none'); background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%"><br />
In this simple case, an artificial individual consists only of a single<br />
binary-coded x-value (from the domain of the function) and the associated y<br />
value (y = f (x)).</font><br />
<font style="-moz-background-clip: border; -moz-background-origin: padding; -moz-background-size: auto auto; font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background-image: url('http://techni.tachemie.uni-leipzig.de/jsga/none'); background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%"><br />
The binary-coded x-value (xc-value) here plays the role of a chromosome, the<br />
y-value the role of fitness value. </font></font><br />
&nbsp;</p>
<p><center></p>
<table>
<tr>
<td>
<p align="justify">
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    artificial individual</font></td>
<td>
<p align="justify">
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    :: =</font></td>
<td>
<p align="justify">
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    I = {x c, f (x)}</font></td>
</tr>
</table>
<p></center></p>
<p align="justify">
<font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
A lot of individuals is called population.</font><br />
&nbsp;</p>
<p><center></p>
<table>
<tr>
<td valign="top">
<p align="justify">
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    Population</font></td>
<td valign="top">
<p align="justify">
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    :: =</font></td>
<td valign="top">
<p align="justify">
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    P = {I</font><sub><font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:">1</font></sub><font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:">,<br />
    I</font><sub><font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:">2</font></sub><font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:">,<br />
    .., I</font><sub><font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:">n</font></sub><font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:">}</font><br />
    <small><br />
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    n: number of individuals</font></small> </td>
</tr>
</table>
<p></center></p>
<p align="justify">&nbsp;</p>
<p align="justify"><i><b><br />
<font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
Coding</font></b></i><br />
<font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
<font style="-moz-background-clip: border; -moz-background-origin: padding; -moz-background-size: auto auto; font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background-image: url('http://techni.tachemie.uni-leipzig.de/jsga/none'); background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%"><br />
The underlying binary coded GA does not work with the real x-values, but with a<br />
coded form.</font> In this case, with a coding of each x-value in a sequence of<br />
0 and 1 Here are some simple examples of the coding are given. For simplicity<br />
here, assume a fixed length of 8 characters and of positive integers. </font>
</p>
<p><center></p>
<table border="1">
<tr>
<td colspan="2" bgcolor="#80ffff">
<p align="justify">
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    Coding Examples</font></td>
</tr>
<tr>
<td bgcolor="#ccffff">
<p align="justify">
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    x</font></td>
<td bgcolor="#ccffff">
<p align="justify">
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    xc (encoded sequence)</font></td>
</tr>
<tr>
<td bgcolor="#ffffcc">
<p align="justify">
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    114</font></td>
<td bgcolor="#ffffcc">
<p align="justify">
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    01001110</font></td>
</tr>
<tr>
<td bgcolor="#ffffcc">
<p align="justify">
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    132</font></td>
<td bgcolor="#ffffcc">
<p align="justify">
    <font style="font-size: 100%; outline: 0pt none; vertical-align: baseline; display: inline; border: 0pt none; margin: 0pt; padding: 0pt; background:"><br />
    00100001</font></td>
</tr>
</table>
<p></center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.intelligenceunited.com/?feed=rss2&amp;p=3283</wfw:commentRss>
		</item>
	</channel>
</rss>

