participate


Algorithms - Different algorithms in Java [Locked]
This topic is locked
<<   Back to Forum  |   Give us Feedback Topics: « Previous | Next
This topic has 69 replies on 5 pages.    1 | 2 | 3 | 4 | 5 | Next »
mathewrond
Posts:188
Registered: 6/24/03
Different algorithms in Java   
Aug 19, 2004 4:24 AM

 
What are the different algorithms in Java? Can someone list me each and its uses?
 
matfud
Posts:2,410
Registered: 9/8/98
Re: Different algorithms in Java   
Aug 19, 2004 4:41 AM (reply 1 of 69)  (In reply to original post )

 
you are going to get burned
 
JosAH
Posts:12,932
Registered: 4/6/04
Re: Different algorithms in Java   
Aug 19, 2004 4:47 AM (reply 2 of 69)  (In reply to #1 )

 
you are going to get burned

Or we could build a bridge out of him.
 
duffymo
Posts:27,863
Registered: 2/20/98
Re: Different algorithms in Java   
Aug 19, 2004 5:22 AM (reply 3 of 69)  (In reply to #2 )

 
Strap on those asbestos underpants and bring marshmallows.

%
 
mathewrond
Posts:188
Registered: 6/24/03
Re: Different algorithms in Java   
Aug 19, 2004 5:36 AM (reply 4 of 69)  (In reply to #2 )

 
Cant you guys be serious and prove me some useful information?
 
JosAH
Posts:12,932
Registered: 4/6/04
Re: Different algorithms in Java   
Aug 19, 2004 5:44 AM (reply 5 of 69)  (In reply to #4 )

 
Cant you guys be serious and prove me some useful information?

Look who's talking. 'What are the different algorithms in Java and list them' ...

Jos

ps. are you made of little rocks?
 
Ragnvald_id2
Posts:364
Registered: 6/10/03
Re: Different algorithms in Java   
Aug 19, 2004 6:44 AM (reply 6 of 69)  (In reply to original post )

 
What are the different sentences in Engilish?
Can someone list me each and its uses?
 
YATArchivist
Posts:4,906
Registered: 23/07/02
Re: Different algorithms in Java   
Aug 19, 2004 6:58 AM (reply 7 of 69)  (In reply to #6 )

 
Algorithm: Start at South Africa. Traverse the continent east-to-west, moving gradually northwards, and examining each object you see to check if it's an elephant.
Uses: finding elephants.
 
JosAH
Posts:12,932
Registered: 4/6/04
Re: Different algorithms in Java   
Aug 19, 2004 7:51 AM (reply 8 of 69)  (In reply to #7 )

 
Algorithm: Start at South Africa. Traverse the continent east-to-west, moving gradually northwards,
and examining each object you see to check if it's an elephant.
Uses: finding elephants.

You have to keep looking over you shoulder because when, e.g. you move eastwards (and a bit
to the north) those darn elephants on the west side of you, tend to move to the south sometimes.
Dual algorithms: count all things and subtract all things not being elephants.

Jos (what about elephants from India then? The ones with the smaller flappy ears?)
 
YATArchivist
Posts:4,906
Registered: 23/07/02
Re: Different algorithms in Java   
Aug 19, 2004 9:53 AM (reply 9 of 69)  (In reply to #8 )

 
I didn't say it would find all elephants.
 
JosAH
Posts:12,932
Registered: 4/6/04
Re: Different algorithms in Java   
Aug 19, 2004 9:56 AM (reply 10 of 69)  (In reply to #9 )

 
I didn't say it would find all elephants.

Are you interested then in a much more efficient algorithm? ;-)

kind regards,

Jos
 
octobernight
Posts:129
Registered: 4/22/04
Re: Different algorithms in Java   
Aug 19, 2004 10:28 AM (reply 11 of 69)  (In reply to #10 )

 
Genetic Algorithm Method to Count Elephants:
Have lots of babies. Wait till they're sixteen and throw them into Africa telling them to count elephants. After 1 year, have a family reunion and ask them to tell you how many they saw. Kill all the ones that didn't count as many as some threshold. Have the surviors have lots of kids, with each other. Have them repeat the process. Keep it up and it'll converge to the right number, as long as they don't die from a horrible genetic disease.
 
RadcliffePike
Posts:1,495
Registered: 6/16/03
Re: Different algorithms in Java   
Aug 19, 2004 10:33 AM (reply 12 of 69)  (In reply to #4 )

 
Cant you guys be serious and prove me some useful
information?


I am serious. And don't call me Cant.

I doubt whether anyone could prove that you are useful information.
 
RadcliffePike
Posts:1,495
Registered: 6/16/03
Re: Different algorithms in Java   
Aug 19, 2004 10:38 AM (reply 13 of 69)  (In reply to #11 )

 
Genetic Algorithm Method to Count Elephants:
Have lots of babies. Wait till they're sixteen and
throw them into Africa telling them to count
elephants. After 1 year, have a family reunion and
ask them to tell you how many they saw. Kill all the
ones that didn't count as many as some threshold.
Have the surviors have lots of kids, with each other.
Have them repeat the process. Keep it up and it'll
l converge to the right number, as long as they don't
die from a horrible genetic disease.


A. I don't think I can have babies. No uterus found. Pls advise.

B. Your fitness function doesn't guarantee that your babies are counting unique elephants. Its not much help if your kids count the same elephant 1 billion times.
 
octobernight
Posts:129
Registered: 4/22/04
Re: Different algorithms in Java   
Aug 19, 2004 10:43 AM (reply 14 of 69)  (In reply to #13 )

 
Hmmm, good call. I'll modify the algorithm.

New and Improved Genetic Algorithm Method to Count Elephants:
Break into an orphanage. Steal as many kids as possible. Wait till they're sixteen
and give them a tagger. The tagger allows them to determine if they counted an
elephant before. Throw them into Africa telling them to count
elephants. After 1 year, have a non-family reunion and
ask them to tell you how many they saw. Kill all the
ones that didn't count as many as some threshold. Check the
tagger to ensure that the count was accurate.
Have the surviors have lots of kids, with each other.
Have them repeat the process. Keep it up and it'll converge to the right number, as
long as they don't die from a horrible genetic disease.
 
This topic has 69 replies on 5 pages.    1 | 2 | 3 | 4 | 5 | Next »
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics
    Users Online : 63
  • Guests : 118

About Sun forums
  • Sun Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Sun Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums