Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Genetic algorithm

  1. #1
    Junior Member
    Join Date
    Feb 2010
    Location
    INDIA
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Genetic algorithm

    hello all..

    i need any of the genetic algorithm's pseudocode for my project or java implementation of it..


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Genetic algorithm

    Genetic algorithms in many contexts aren't easy and are highly dependent upon how you represent your population as well as what you wish to select for. In the most simplest form an 'organism' can be something binary (eg 01000101). Here's very abstract psuedo-code
    1) initialize population of size a
    2) select the most fit, 'killing' off a defined percentage p
    3) reproduce (cross the currently 'alive' organisms to produce a new population of size a)
    4) mutate at a defined frequency
    5) go to step 2 (n) number of times
    6) end
    Hope this helps

  3. The Following User Says Thank You to copeg For This Useful Post:

    rpsaranya (March 5th, 2010)

  4. #3
    Junior Member
    Join Date
    Feb 2010
    Location
    INDIA
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Genetic algorithm

    i ve to create a regression model for handling imprecise data using fuzzy, with multi objective genetic algorithm.. im not getting a catch/ idea to implement it. could u please help me out of it.

Similar Threads

  1. breakout paddle algorithm
    By Brain_Child in forum Algorithms & Recursion
    Replies: 0
    Last Post: December 30th, 2009, 05:24 AM
  2. I have algorithm problem
    By Newoor in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 11th, 2009, 08:11 PM
  3. Parsing By Prediction Algorithm(?)
    By benjamin in forum Collections and Generics
    Replies: 5
    Last Post: September 30th, 2009, 03:21 PM
  4. algorithm
    By AmmrO in forum Algorithms & Recursion
    Replies: 13
    Last Post: September 24th, 2009, 09:18 PM
  5. Insert sort algorithm
    By Alysosh in forum Algorithms & Recursion
    Replies: 1
    Last Post: May 26th, 2009, 09:28 AM