473,387 Members | 1,515 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Tutorial/Help on programming Genetic Algroithms in Java/C++

Hello, I'm currently looking for more information on Genetic
Algorithms and more specifficaly on how to program them in Java or
C++. This is all concerning my thesis.
A lot of general information about GA's, what they are and how they
generally work I already found on the web, but I'm looking for some
more information on how to actually program them.
Is there a certain programming language preferably to use to program
the GA?
Has anyone help with some basic code I can use to study on?
In fact all help on programming GA's is more then welcome!

Thx a lot!

Ruben
Jul 22 '05 #1
10 2659
Ruben Hoste wrote:
Hello, I'm currently looking for more information on Genetic
Algorithms and more specifficaly on how to program them in Java or
C++. This is all concerning my thesis.
A lot of general information about GA's, what they are and how they
generally work I already found on the web, but I'm looking for some
more information on how to actually program them.
"program them -> write them in source code". Yes?
Is there a certain programming language preferably to use to program
the GA?
If that were true, the name wouldn't apply. By definition, they are not
language-specific.
Has anyone help with some basic code I can use to study on?
What? Maybe you could work on your sentence structure as you move toward the
goal of writing clear computer programs.
In fact all help on programming GA's is more then welcome!


more then -> more than

--
Paul Lutus
http://www.arachnoid.com

Jul 22 '05 #2
Ruben Hoste wrote:
Hello, I'm currently looking
Try google.
for more information on Genetic
Algorithms and more specifficaly on how to program them
in Java http://www.systemtechnik.tu-ilmenau....a/ea_java.html
or C++.

http://lancet.mit.edu/ga/

BugBear
Jul 22 '05 #3
Ruben Hoste wrote:
Hello, I'm currently looking for more information on Genetic
Algorithms and more specifficaly on how to program them in Java or
C++. This is all concerning my thesis.
A lot of general information about GA's, what they are and how they
generally work I already found on the web, but I'm looking for some
more information on how to actually program them.
Is there a certain programming language preferably to use to program
the GA?
Has anyone help with some basic code I can use to study on?
In fact all help on programming GA's is more then welcome!

Thx a lot!

Ruben

Take a look at Robert Ghanea-Hercock's 'Applied Evolutionary Algorithms
in Java', published by Springer Verlag (see
http://www.techbookreport.com/tbr0031.html for more details). The book
covers a basic intro and includes plenty of source. A CD is included,
with full source code. If you're at a university take a look in your
library.

HTH
Pan
===============================================
TechBookReport : http://www.techbookreport.com
Jul 22 '05 #4
Ruben,

I think the biggest problem with implementing a GA (or any inherently
parallel algorithm) is that most folks are trying to implement them on
sequential processors. Technically speaking (and despite popular belief),
even a large number of sequential processors all wired together does not a
parallel computer make. I'm probably off topic here, but IMHO, if you want
to run a parallel algorithm, run it on a parallel processor. Maybe check
out hardware (and software) from Annapolis, Star Bridge Systems, Nallatech
or the new Cray XD1. All of these machines have FPGAs embedded in them.
With an FPGA, the electronic circuit implementation of the algorithm, in
all of it's parallel glory, can be instantiated on the fly.

Just my 2 cents,
Tyler Reed
tyler@spam_sucks_progressforge.net

Ruben Hoste wrote:
Hello, I'm currently looking for more information on Genetic
Algorithms and more specifficaly on how to program them in Java or
C++. This is all concerning my thesis.
A lot of general information about GA's, what they are and how they
generally work I already found on the web, but I'm looking for some
more information on how to actually program them.
Is there a certain programming language preferably to use to program
the GA?
Has anyone help with some basic code I can use to study on?
In fact all help on programming GA's is more then welcome!

Thx a lot!

Ruben


Jul 22 '05 #5
Paul Lutus <no****@nosite.zzz> wrote in message news:<10*************@corp.supernews.com>...
Ruben Hoste wrote:
Hello, I'm currently looking for more information on Genetic
Algorithms and more specifficaly on how to program them in Java or
C++. This is all concerning my thesis.
A lot of general information about GA's, what they are and how they
generally work I already found on the web, but I'm looking for some
more information on how to actually program them.
"program them -> write them in source code". Yes?


Yes idd write source code.
Is there a certain programming language preferably to use to program
the GA?


If that were true, the name wouldn't apply. By definition, they are not
language-specific.
Has anyone help with some basic code I can use to study on?


What? Maybe you could work on your sentence structure as you move toward the
goal of writing clear computer programs.

For non english speaking people it isn't always so easy to write
without (spelling) mistakes, so excuse me for any errors, and please
ask me for more information if you don't understand something! Thank
you!
I mean hear, some pseudo code, or some simple java/c++ program
concerning GA's
In fact all help on programming GA's is more then welcome!


more then -> more than

Jul 22 '05 #6
"Paul Lutus" <no****@nosite.zzz> wrote:
Has anyone help with some basic code I can use to study on?
What? Maybe you could work on your sentence structure as you move toward the
goal of writing clear computer programs. In fact all help on programming GA's is more then welcome!

more then -> more than


In your never-ending campaign to prove yourself an offensive idiot,
Paul, minutea like checking out the OP's native language would only
stand in your way.

http://www.khbo.be/

xanthian.

--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
Jul 22 '05 #7
Kent Paul Dolan wrote:
"Paul Lutus" <no****@nosite.zzz> wrote:
Has anyone help with some basic code I can use to study on?
What? Maybe you could work on your sentence structure as you move toward
the goal of writing clear computer programs.

In fact all help on programming GA's is more then welcome!

more then -> more than


In your never-ending campaign to prove yourself an offensive idiot,


Pot, kettle, black. The difference is, with your utter lack of
irony-awareness, you think you can engage in an amplified version of what
you criticize in others while evading the obvious label "hypocrite".
Probably an artifact of your age.

--
Paul Lutus
http://www.arachnoid.com

Jul 22 '05 #8
"Paul Lutus" <no****@nosite.zzz> wrote:
Pot, kettle, black.
To save me the trouble of doing the needed archive
research, do you _always_ attack the messenger,
rather than indulge in appropriately contrite
behavior, such as apologizing to the party you
offended, when your oafishness is called in
question?

[You'll find, as thousands before you have, that
trying to insult a retired submariner by name
calling is a failing strategy. The opinions of
me expressed by self-demonstrated imbeciles are
of no importance whatever to me, as I am more
than capable of considering the source.]
Probably an artifact of your age.


Yes. It's called "adulthood". When you've once
experienced it, it's hard to go back to the Lutus
level of maturity.

xanthian.

--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
Jul 22 '05 #9

"Ruben Hoste" <ru*********@student.khbo.be> wrote in message
news:c9**************************@posting.google.c om...

Is there a certain programming language preferably to use to program
the GA?


If that were true, the name wouldn't apply. By definition, they are not
language-specific.


I don't see how "Genetic Algortihm", by definition, means "not language
specific". Were you thinking "Generic" instead of "Genetic", perhaps?

In any case, the language of choice for Genetic Algorithms tends to be
governed by the context under which is intended to be run, right? C++ might
be a fine language to use for playing around with various methods. So might
assembly code. If you're planning on entering some kind of contest, then
they probably specify exactly how the programs need to be written. If
you're doing it yourself, then you can specify any language you feel
comfortable with. (Although in that case you may find it more difficult to
write the controlling program, which I'd guess would emulate an imaginary
[parallel?] processor, than to fiddle with various algorithms.)

I see others have given good links for you already though. Check them out.
And have fun!

-Howard


Jul 22 '05 #10

"Howard" <al*****@hotmail.com> wrote in message
news:UR*********************@bgtnsc04-news.ops.worldnet.att.net...

"Ruben Hoste" <ru*********@student.khbo.be> wrote in message
news:c9**************************@posting.google.c om...


<Sorry Ruben, I meant that to be a response to Paul's post.>

-Howard

Jul 22 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: abcd | last post by:
kutthaense Secretary Djetvedehald H. Rumsfeld legai predicted eventual vicmadhlary in Iraq mariyu Afghmadhlaistmadhla, kaani jetvedehly after "a ljetvedehg, hard slog," mariyu vede legai pressed...
55
by: Elijah | last post by:
I have read many of the topics on learning C++ or Java first. It seems like everyone says something different. I would like to know if I should learn C++ or Java. First a little about myself. I...
3
by: ThanhVu Nguyen | last post by:
Hi, I am looking for a forumn or newgroups that is about Genetic Programming. Since this group probably is the most active and and largest programming ng so I thought probably someone will know...
28
by: Alf P. Steinbach | last post by:
A few days ago I posted an "Hello, world!" tutorial, discussed in <url: http://groups.google.no/groups?threadm=41ba4c0a.76869078@news.individual.net>. As I wrote then: <quote> because there...
12
by: D. Layman | last post by:
Hello group, After quite a long time of consideration, I'v finally decided to switch from Java to C. Given the condition that almost without any knowledge on C and 3 years expereince on java, ,...
27
by: SK | last post by:
Hi I am trying to teach myself how to program in C. I am a physician hoping to be able to help restructure my office. Anyhow, I amhoping that the porblem I am having is simple to those much more...
2
by: Michael Mayer | last post by:
This is not an ad for the best c# tutorial on the internet! And not from anybody world known. I just wanted to start a thread (to possibly gather more interest) based on a post Jon Skeet made...
6
by: John Ladasky | last post by:
Hi folks, I've played around with neural nets for a while. I wrote my own slow, pure-Python NN package. I knew that there were Python NN packages out there -- but I couldn't really understand...
4
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Hello all, I'm trying to convert a Java Genetic Programming program to C#. I don't know how to convert the following Java code: Object choice = functionSet.getSelectedItem(choice)).value();...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.