473,657 Members | 2,585 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2685
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_suck s_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.sup ernews.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*********@st udent.khbo.be> wrote in message
news:c9******** *************** ***@posting.goo gle.com...

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

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

Similar topics

0
3437
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 Pentagjetvedeh karuvificials madhla reachathe strategy in karkun campaign deshatinst terrorism. "mudivae maretu winning or losing karkun global varti jetvedeh terror?" Mr. Rumsfeld adugued in a recent memormariyuum. vede velli jetvedeh madhla...
55
45982
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 know PHP, BASIC, and of course HTML. I'll be 15 years old in September. I am interested in programming GUI applications. I am also interested in programming games. I know that I should learn C++ to program games, but would learning Java make the...
3
1482
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 where I can find places for GP. Currently I am doing some GP projects and would like to ask questions or discuss about it. Not really sure where to go. I know there is comp.ai.genetic but it seems mostly for conference papers. I am looking...
28
2416
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 seems to be a lack of post-standard _correct_ tutorials: <url: http://home.no.net/dubjai/win32cpptut/>. </quote>
12
1893
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, , Which tutorial or book might be good for me to start with? It would be the best if it's (freely) available on the net. I'd prefer standard C, anyway some Gnu extensions are just fine. I'd appreciate any of your recommendation of book/tutorials or...
27
2092
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 experienced in programming. I am trying to use the concept of arrays to calculate the hours of my backoffice staff, however I am getting a ridiculous amount of error lines. If any one has time to help me that would be great. I am using the...
2
9867
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 earlier: <quote from Jon Skeet - skeet@pobox.com > I'm considering writing a C# tutorial. Any comments (including "don't do it, there are plenty out there already") are welcome - and if I *do* go ahead with it, I'd love it to
6
4880
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 their features and documentation at first, not without some hands-on experience. I haven't yet solved any interesting problems with NN, but I learned a lot about both NN and about Python along the way. One of the unpleasant things I learned...
4
1167
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(); Class cls = ((ProgramChoice) choice; function = (Function) cls.newInstance(); The object "choice" shows that a Subtraction class (i.e. "sub") was selected,
0
8310
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7333
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6167
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4315
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2731
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1957
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1620
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.