<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Algorithms Forum RSS Feed (Replies Included)</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the 'Algorithms' forum at Programmer's Heaven, including replies.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Fri, 20 Nov 2009 20:42:07 -0700</pubDate>
    <lastBuildDate>Fri, 20 Nov 2009 20:42:07 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>8 queens problem</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/409419/409419/8-queens-problem/</link>
      <description>hello,&lt;br /&gt;
&lt;br /&gt;
can someone help me wiht writing the algorithm for the 8 queens problem.&lt;br /&gt;
&lt;br /&gt;
Thanx,&lt;br /&gt;
akshay&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/409419/409419/8-queens-problem/</guid>
      <pubDate>Tue, 17 Nov 2009 01:01:45 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Unique Number Generation</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/409069/409069/unique-number-generation/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
Suppose I have a list of numbers, say (a,b....n) i want to generate a unique number say u so that no other list, say (a1,b1... n1) will not give a number u1 and u!=u1 if (a,b...n)!=(a1,b1...n1)&lt;br /&gt;
&lt;br /&gt;
More over (a,b,...n) is same list as (b,a...n), so they should both generate u, ie order does not matter.&lt;br /&gt;
&lt;br /&gt;
Any one has any idea?&lt;br /&gt;
&lt;br /&gt;
What i came up with is (a+b+...n)+(a*b*...*n), can this fail in any time?&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Jishnu&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/409069/409069/unique-number-generation/</guid>
      <pubDate>Tue, 10 Nov 2009 23:35:44 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Re: Find ANY ONE of the k smallest elements</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/408279/408313/re-find-any-one-of-the-k-smallest-elements/#408313</link>
      <description>oh wow nevermind the answer is so simple =/&lt;br /&gt;
&lt;br /&gt;
I don't even need to think about k-select algorithms here!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/408279/408313/re-find-any-one-of-the-k-smallest-elements/#408313</guid>
      <pubDate>Sun, 25 Oct 2009 20:58:03 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Find ANY ONE of the k smallest elements</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/408279/408279/find-any-one-of-the-k-smallest-elements/</link>
      <description>Hey guys, I was hoping someone could help me out with this problem, I might be over thinking it too much and the answer might be very simple but its not getting to me.&lt;br /&gt;
&lt;br /&gt;
The problem has to deal with the k-smallest element problem, you are given n elements and an integer k such that 1 &amp;lt; k &amp;lt; n. The problem is to find ANY ONE of the k smallest elements.&lt;br /&gt;
&lt;br /&gt;
So for example, if k = 4, the output may be either the first, second, third, or fourth-smallest element.&lt;br /&gt;
&lt;br /&gt;
I am looking for a FAST algorithm to solve this problem and to figure out how many comparisons it performs. I also need to give a lower bound as a function of n and k on the number of comparisons needed to solve this problem.&lt;br /&gt;
&lt;br /&gt;
Any help is appreciated, thanks!&lt;br /&gt;
&lt;br /&gt;
Joey&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/408279/408279/find-any-one-of-the-k-smallest-elements/</guid>
      <pubDate>Sun, 25 Oct 2009 03:22:40 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Re: a tiny problem</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/403367/408132/re-a-tiny-problem/#408132</link>
      <description>No, that's the mod operator.  So,&lt;br /&gt;
-20 % 24 is equivalent to -20 mod 24 (in psuedo code).&lt;br /&gt;
If you are questioning the math behind it, here is the complicated answer: &lt;a href="http://en.wikipedia.org/wiki/Modular_arithmetic"&gt;http://en.wikipedia.org/wiki/Modular_arithmetic&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Consider:&lt;br /&gt;
52 % 24 = 4&lt;br /&gt;
28 % 24 = 4&lt;br /&gt;
4 % 24 = 4&lt;br /&gt;
-20 % 24 = 4&lt;br /&gt;
&lt;br /&gt;
52 = 2 * 24 +4&lt;br /&gt;
28 = 1 * 24 + 4&lt;br /&gt;
4 = 0 * 24 + 4&lt;br /&gt;
-20 = -1 * 24 + 4&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/403367/408132/re-a-tiny-problem/#408132</guid>
      <pubDate>Thu, 22 Oct 2009 12:48:55 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Re: a tiny problem</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/403367/407954/re-a-tiny-problem/#407954</link>
      <description>-20%24=4???How do calculate that?!Is it not -20?!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/403367/407954/re-a-tiny-problem/#407954</guid>
      <pubDate>Sat, 17 Oct 2009 20:41:48 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Re: a tiny problem</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/403367/407893/re-a-tiny-problem/#407893</link>
      <description>(2 - 22) = -20&lt;br /&gt;
-20 % 24 = 4&lt;br /&gt;
Bear in mind that % returns the remainder of the division of its arguments.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/403367/407893/re-a-tiny-problem/#407893</guid>
      <pubDate>Fri, 16 Oct 2009 10:42:43 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Re: a tiny problem</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/403367/407827/re-a-tiny-problem/#407827</link>
      <description>The slightly longer answer is&lt;br /&gt;
SIZE = 24&lt;br /&gt;
&lt;br /&gt;
def dis(a, b):&lt;br /&gt;
d1 = (a - b) % size&lt;br /&gt;
d2 = (b - a) % size&lt;br /&gt;
return min(d1, d2)&lt;br /&gt;
-----------------------&lt;br /&gt;
It dosen't work:&lt;br /&gt;
a=22,b=2&lt;br /&gt;
d1=(22-2)%24 = 20&lt;br /&gt;
d2=(2-22)%24 = -20&lt;br /&gt;
min(d1,d2)=20 is not the right answer 4?!!!!!??!!?!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/403367/407827/re-a-tiny-problem/#407827</guid>
      <pubDate>Thu, 15 Oct 2009 19:46:01 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Re: a tiny problem</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/403367/407670/re-a-tiny-problem/#407670</link>
      <description>The short answer in Python is&lt;br /&gt;
&lt;br /&gt;
lambda a, b, size: min((a - b) % size, (b - a) % size)&lt;br /&gt;
&lt;br /&gt;
where a and b are inputs and size is the number of elements (24 for this case).&lt;br /&gt;
&lt;br /&gt;
The slightly longer answer is&lt;br /&gt;
SIZE = 24&lt;br /&gt;
&lt;br /&gt;
def dis(a, b):&lt;br /&gt;
  d1 = (a - b) % size&lt;br /&gt;
  d2 = (b - a) % size&lt;br /&gt;
  return min(d1, d2)&lt;br /&gt;
&lt;br /&gt;
And, if you don't like modular arithmetic, &lt;br /&gt;
SIZE = 24&lt;br /&gt;
&lt;br /&gt;
def dis2(a, b):&lt;br /&gt;
  high = max(a, b)&lt;br /&gt;
  low = min(a, b)&lt;br /&gt;
  dis1 = high - low&lt;br /&gt;
  dis2 = SIZE - dis1&lt;br /&gt;
  return min(dis1, dis2)&lt;br /&gt;
&lt;br /&gt;
That one only works for values of a and b in range(0, 24), but it saves you the trouble of having to understand modular arithmetic.  ;)&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/403367/407670/re-a-tiny-problem/#407670</guid>
      <pubDate>Thu, 15 Oct 2009 15:24:57 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>a tiny problem</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/403367/403367/a-tiny-problem/</link>
      <description>As the following picture:&lt;br /&gt;
It's a circle that is consist of the numbers,how can i simply calculate the distance between some tow numbers,for example,5 and 8 is 3;22 and 2 is 4 ???????????&lt;br /&gt;
                     0  1  2  3  4  5&lt;br /&gt;
                   23                6&lt;br /&gt;
                   22                7&lt;br /&gt;
                   21                8&lt;br /&gt;
                   20                9&lt;br /&gt;
                   19                10&lt;br /&gt;
                   18                11&lt;br /&gt;
                     17 16 15 14 13 12 &lt;br /&gt;
                  &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/403367/403367/a-tiny-problem/</guid>
      <pubDate>Fri, 09 Oct 2009 01:22:49 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Algorithm for finding out the cheapst combination</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/403318/403318/algorithm-for-finding-out-the-cheapst-combination/</link>
      <description>Hello, I have a few sets which are like&lt;br /&gt;
&lt;br /&gt;
SET A(1,2,3,11,10)  - $30&lt;br /&gt;
SET B(2,5,8)        - $20&lt;br /&gt;
SET C(6)             -$25&lt;br /&gt;
SET D(6,8)           -$30&lt;br /&gt;
SET E(7,5)           -$20&lt;br /&gt;
SET F(5,6,7,8,9,10)  -$60&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
and so on... All are random, Now consider sets D,E and F I want to buy the cheapest combination for a set, SET Q(7,8,6,5) the answer should be SET D + SET E, not the SET F&lt;br /&gt;
&lt;br /&gt;
Please link... thanks&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/403318/403318/algorithm-for-finding-out-the-cheapst-combination/</guid>
      <pubDate>Fri, 09 Oct 2009 00:36:44 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Re: About random question</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/400809/401980/re-about-random-question/#401980</link>
      <description>I don't know what hardware you have or what the purpose is, but there are a few generic options.&lt;br /&gt;
&lt;br /&gt;
The last used seed number could be stored into permanent memory (if available) and used the next time when needed. This way the random values are good as long as the seed isn't lost.&lt;br /&gt;
&lt;br /&gt;
Maybe you don't even need very good random values? That would be the case if the values are needed for doing something not so important, like making a visual effect, for example. Then you could just use any preset seed value.&lt;br /&gt;
&lt;br /&gt;
If you have some input to your MCU, then you can sample values from it. For example, consider an electronic dice. One way to get a random value is to measure the time between pressing the key and releasing it. (You may not have time, but maybe you have a timer). Be creative!&lt;br /&gt;
&lt;br /&gt;
There are special additional chips for generating random bits, but you can also use things like accelerometers, thermistors, photoresistors, etc. to gather variable data from the environment.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/400809/401980/re-about-random-question/#401980</guid>
      <pubDate>Sun, 04 Oct 2009 13:08:00 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Optimization problem with sets.</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/401954/401954/optimization-problem-with-sets/</link>
      <description>Hello!&lt;br /&gt;
&lt;br /&gt;
I have a set that contains maximum 10^6 items. All item are 4^n number, where 0 &amp;lt;= n &amp;lt;= 11, all items have a price that can be 1 &amp;lt;= price &amp;lt;= 10^8. And I also have another number k, where k is 4^n number and 0 &amp;lt;= n &amp;lt;= 11.  The items are ordered monotonically first according to size of numbers, then to prices. &lt;br /&gt;
I want to take the sum of the items that equal to number k, and the price is minimal.&lt;br /&gt;
&lt;br /&gt;
The example:&lt;br /&gt;
A := {16(1),16(2),16(3),16(4),64(11)}and k=64. (format: Number (price) -&amp;gt; 16(1))&lt;br /&gt;
So, the solution is 16(1),16(2),16(3),16(4), because 1+2+3+4=10 smaller then 11.&lt;br /&gt;
&lt;br /&gt;
Any idea?&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/401954/401954/optimization-problem-with-sets/</guid>
      <pubDate>Sun, 04 Oct 2009 07:17:00 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Re: About random question</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/400809/400904/re-about-random-question/#400904</link>
      <description>If I use a 8-bit MCU,there is no explicit system time,so how can i &lt;br /&gt;
get the seed source?!Thank you!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/400809/400904/re-about-random-question/#400904</guid>
      <pubDate>Mon, 28 Sep 2009 07:35:42 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Re: About random question</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/400809/400817/re-about-random-question/#400817</link>
      <description>It depends.&lt;br /&gt;
&lt;br /&gt;
For security-related applications, where you would want to create random keys so that a third party couldn't guess them, using only the time is not enough. The operating system typically provides means of creating better random values (Linux and Mac have /dev/random, Windows has a cryptography API). The OS uses seeds such as disk writes per second, processor cache misses, port I/O, time, etc.&lt;br /&gt;
&lt;br /&gt;
For artificial intelligence, fuzzy logic or things like that, using 1-2 seeds is fine. But because time is very predictable and changes at a fixed rate, then in some cases it might not seem random enough. Then you would use a formula like you described to constantly recalculate the seed number based on the current time and the previous seed number.&lt;br /&gt;
&lt;br /&gt;
Time is a good seed, because it is one of the few metrics that are readily available for all programs at any permission levels. You would need admin access to get values from other system hardware. Another value that is often used in games is the time between keypresses, however many other applications don't get any keyboard input at all.&lt;br /&gt;
&lt;br /&gt;
The formula Rand_Number = (Rand_Seed * X + Y) mod Z is good, because there is a good chance the number will overflow because of the multiplication. This means the higher digits are discarded, because they won't fit into the 32 or 64 bits the computer uses to store the number. Without the formula, the seed number would only change linearly, because time is linear.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/400809/400817/re-about-random-question/#400817</guid>
      <pubDate>Mon, 28 Sep 2009 00:56:41 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>About random question</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/400809/400809/about-random-question/</link>
      <description>Hi, guys!&lt;br /&gt;
    I have read a lot algorithms about random-generation,most of them use the system time as the seed,and then calculate it with &lt;br /&gt;
formula Rand_Number = (Rand_Seed * X + Y) mod Z, why use the system time as the seed,is it random enough? then if the seed is random,why calculate it again through this formula?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/400809/400809/about-random-question/</guid>
      <pubDate>Sun, 27 Sep 2009 22:01:07 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>( WWW.Sneakers2World.COM ) Nike Air Max Tailwind 2010</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/398593/398593/-wwwsneakers2worldcom--nike-air-max-tailwind-2010/</link>
      <description>&lt;br /&gt;
( WWW.Sneakers2World.COM ) Nike Womens Air Max Skyline&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Nike Air Zenyth Womens Sneakers&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Nike Air Zenyth Mens Sneakers&lt;br /&gt;
&lt;br /&gt;
( WWW.Sneakers2World.COM ) Nike Air Max Tailwind 2010&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/398593/398593/-wwwsneakers2worldcom--nike-air-max-tailwind-2010/</guid>
      <pubDate>Sat, 19 Sep 2009 02:38:49 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>(WWW.Sneakers2World.COM) Wholesale Nike Air Force 1</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/398592/398592/wwwsneakers2worldcom-wholesale-nike-air-force-1/</link>
      <description>(WWW.Sneakers2World.COM) Wholesale Nike Air Force 1, Nike Air Force 1 Low, Nike Air Force 1 One &lt;br /&gt;
&lt;br /&gt;
(WWW.Sneakers2World.COM) Wholesale Air Force One 25 Anniversary sneakers, Nike Air Force One 25 th Sneakers &lt;br /&gt;
&lt;br /&gt;
(www.sneakers2world.com ) Nike Air Force 1 for Sell, Nike Air Force 1 Low, Nike Air Force 1 Mid, Nike Air Force 1 exclusive, &lt;br /&gt;
Nike Air Force 1 special edition&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/398592/398592/wwwsneakers2worldcom-wholesale-nike-air-force-1/</guid>
      <pubDate>Sat, 19 Sep 2009 02:37:24 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>(WWW.Sneakers2World.COM) Nike Air Max 1 OG</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/398591/398591/wwwsneakers2worldcom-nike-air-max-1-og/</link>
      <description>(WWW.Sneakers2World.COM) Nike Sportswear Nike Air Max 1,aka Nike Air Max&lt;br /&gt;
&lt;br /&gt;
(WWW.Sneakers2World.COM) Nike Air Max 1 OG&lt;br /&gt;
&lt;br /&gt;
(WWW.Sneakers2World.COM) Nike Air Max 1 Original Quickstrike&lt;br /&gt;
&lt;br /&gt;
(WWW.Sneakers2World.COM) Patta x Nike Air Max 1 Trainers wholesale&lt;br /&gt;
&lt;br /&gt;
(WWW.Sneakers2World.COM)  Patta x Nike Air Max 1 Premium Tier Zero Holiday 2009&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/398591/398591/wwwsneakers2worldcom-nike-air-max-1-og/</guid>
      <pubDate>Sat, 19 Sep 2009 02:36:38 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Accept Paypal ( WWW.Sneakers2World.COM ) cheap discount wholesale Nike</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/398590/398590/accept-paypal--wwwsneakers2worldcom--cheap-discount-wholesale-nike/</link>
      <description>Accept Paypal ( WWW.Sneakers2World.COM ) cheap discount wholesale Nike Air Force One Low&lt;br /&gt;
Accept Paypal ( WWW.Sneakers2World.COM ) cheap discount wholesale Nike Air Force One High&lt;br /&gt;
Accept Paypal ( WWW.Sneakers2World.COM ) cheap discount wholesale Light Up Nike Air Force One&lt;br /&gt;
Accept Paypal ( WWW.Sneakers2World.COM ) cheap discount wholesale Obama Custom Air Force One&lt;br /&gt;
Accept Paypal ( WWW.Sneakers2World.COM ) cheap discount wholesale Nike SB Dunk Low&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/398590/398590/accept-paypal--wwwsneakers2worldcom--cheap-discount-wholesale-nike/</guid>
      <pubDate>Sat, 19 Sep 2009 02:35:49 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Re: Creating .ISO files...</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/173730/397972/re-creating-iso-files/#397972</link>
      <description>If you use a Mac, this is a tutorial on how to use DVD Copy (to ISO) Tool to &lt;a href="http://www.imediacreator.com/iso/dvd-to-iso-mac.html#131"&gt;&lt;span style="text-decoration: underline;"&gt;&lt;em&gt;create ISO image from DVD on Mac&lt;/em&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Now you have finished creating an ISO File to your Mac, then you can enjoy watching your movie on your Mac or sharing with others.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Tips&lt;/strong&gt;: You can review the ISO image by using the Finder to mount the .iso image (double click) and DVD Player to play the DVD by specifying the location of the VIDEO_TS folder in the mounted image, you also can know more details about &lt;a href="http://www.imediacreator.com/iso/how-to-play-iso-file-on-mac.html#131"&gt;playing ISO file on your Mac&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
And if anytime, you want to burn the ISO file to another DVD disc, Know more &lt;a href="http://www.imediacreator.com/iso/burn-iso-to-dvd-disc-on-mac.html#131"&gt;How to Burn ISO file to DVD on Mac&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/173730/397972/re-creating-iso-files/#397972</guid>
      <pubDate>Wed, 16 Sep 2009 23:51:18 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Software Development training</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/396637/396637/software-development-training/</link>
      <description>Hi Guys&lt;br /&gt;
&lt;br /&gt;
I would like to develop web based database/applications.&lt;br /&gt;
&lt;br /&gt;
I would like to develop websites, web based database type applications and web based forum applications&lt;br /&gt;
&lt;br /&gt;
I am a total beginner into this field and would like some help with training.&lt;br /&gt;
&lt;br /&gt;
There are several things out there like PHP,.net,mysql,SERVOY...........&lt;br /&gt;
&lt;br /&gt;
Can somebody suggest the best platform/language for this type of job?&lt;br /&gt;
&lt;br /&gt;
I am planning to take some training and then hopefully get started.&lt;br /&gt;
&lt;br /&gt;
John&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/396637/396637/software-development-training/</guid>
      <pubDate>Sun, 06 Sep 2009 08:00:06 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Genetic algorithm</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/396124/396124/genetic-algorithm/</link>
      <description>Hello, i am a new user of Matlab &lt;br /&gt;
and i want to create a genetic algorithm optimizing the wights of a fuzzy map. my problem is that i am not familiar with the genetic algorithm functions of matlab and, thus, i cant insert propely my objective function. any tips ?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/396124/396124/genetic-algorithm/</guid>
      <pubDate>Sun, 30 Aug 2009 06:04:47 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Levenshtein algorithm</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/395548/395548/levenshtein-algorithm/</link>
      <description>hi,i just came across the  string distance algorithm.&lt;br /&gt;
I took a paper and a pen to work out the exact algorithm.The answer seems to be correct.&lt;br /&gt;
But i could not understand why it is like that.&lt;br /&gt;
to fill d[i][j] &lt;br /&gt;
we look left,top,left diagonal.&lt;br /&gt;
(i guess this is where we check whether to insert,replace or delete)&lt;br /&gt;
But i am not sure how it is and why it is.&lt;br /&gt;
Can someone explain me why d's are checked for all three conditions .&lt;br /&gt;
I went throught this algo in wiki andhttp://www.merriampark.com/ld.htm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/395548/395548/levenshtein-algorithm/</guid>
      <pubDate>Sat, 22 Aug 2009 06:33:16 -0700</pubDate>
      <category>Algorithms</category>
    </item>
    <item>
      <title>Optimization</title>
      <link>http://www.programmersheaven.com/mb/Algorithms/394515/394515/optimization/</link>
      <description>Hello! I am a beginner programmer. I have a problem with the runtime of one of my applications. &lt;br /&gt;
&lt;br /&gt;
I have a website application that tries to compute for recommended objects to users. The recommended results is based on the user as well as the currently viewed object.&lt;br /&gt;
&lt;br /&gt;
My problem is, I have 500 artworks and almost 30 users. What I do is, for each user, I compute the value for recommendation for EACH artwork. So that means, for 1 object, I compare ALL of the other objects to it. Then after the computation, I store it in the Database. So for each user, I have around 250000 records inside the Database.&lt;br /&gt;
&lt;br /&gt;
Can I have any tips regarding on how to optimize it? Either some changes to the Database model or some changes to the code. I have 3 FOR loops (1 for user, 1 for viewed object, 1 for target objects). I have already tried using UNION ALL, but the INSERT statements doesn't seem to be the case.&lt;br /&gt;
&lt;br /&gt;
Help please!&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Algorithms/394515/394515/optimization/</guid>
      <pubDate>Sat, 01 Aug 2009 18:32:21 -0700</pubDate>
      <category>Algorithms</category>
    </item>
  </channel>
</rss>