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 :)
Member 11333313 at 7-Jan-15 4:46am
can you give me example source code for scheduling using genetic algorithm system in vb6.0?

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

  Print Answers RSS
0 OriginalGriff 532
1 Maciej Los 450
2 Sergey Alexandrovich Kryukov 421
3 CPallini 200
4 Peter Leow 190
0 Sergey Alexandrovich Kryukov 6,888
1 OriginalGriff 5,342
2 Peter Leow 3,962
3 Mika Wendelius 2,850
4 CHill60 2,748

Advertise | Privacy | Mobile
Web01 | 2.8.150224.1 | Last Updated 18 Feb 2011
Copyright © CodeProject, 1999-2015
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