Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: VB.NET Algorithms
Can someone give me an example of a genetic algorithm in I'm confused on how to create a population, crossover, mutation and calculate a fitness value for each chromosome. I need an example of a genetic algorithm in including the source code.
Thanks for your help! Smile | :)
Posted 18-Feb-11 1:29am
Edited 18-Feb-11 1:54am
SAKryukov at 18-Feb-11 11:10am
Your problem is VB.NET, I would suspect. To get access to serious works you may want to switch to C# and/or something else. I never knew serious developers taking any kind of Basic seriously. This is fact of life, not of opinions of relative benefits of different languages.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

There's an article here on CP that is in C#, but might still be of interest to you to get some ideas:
A Simple C# Genetic Algorithm[^].
Here's an article on CP in VB.NET: Data Classification Using VB.NET and Genetic Algorithm[^].
Studying this should also give you some ideas: JGAP[^]. It is in java but nevertheless very informative.
There is even something in VB6.0 here:[^]
Dylan Morley at 18-Feb-11 7:26am
Why was this marked down, looks like some good information
My 5
SAKryukov at 18-Feb-11 11:16am
I think I know why, please see my comment :-)
SAKryukov at 18-Feb-11 11:14am
Manfred, I know: somebody is voting "1" all the time; this is revenge!
This is because you called a poor guy an idiot -- I know you did!
This person proves that you were absolutely right about the level of her/his sanity, by voting "1".
This is indeed idiotic.
I find it quite appropriate to vote "5" for you answer.
Abdi tombang at 18-Feb-11 21:38pm
Thanks :D
I'm vote 5 for your answer :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 289
1 OriginalGriff 225
2 DamithSL 165
3 Kornfeld Eliyahu Peter 105
4 Peter Leow 105
0 OriginalGriff 7,355
1 DamithSL 5,254
2 Sergey Alexandrovich Kryukov 4,942
3 Maciej Los 4,906
4 Kornfeld Eliyahu Peter 4,514

Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 18 Feb 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100