Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET Algorithms
Can someone give me an example of a genetic algorithm in VB.net? 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 vb.ne including the source code.
Thanks for your help! Smile | :)
Posted 18-Feb-11 0:29am
Edited 18-Feb-11 0:54am
v2
Comments
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.
--SA

1 solution

Rate this: bad
good
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: http://home.snu.edu/~brint/vbgalib/[^]
 
Cheers!
  Permalink  
v3
Comments
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 :-)
--SA
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.
 
Cheers,
--SA
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 878
1 OriginalGriff 410
2 CPallini 275
3 George Jonsson 226
4 Richard Deeming 145
0 OriginalGriff 5,450
1 CPallini 4,500
2 Sergey Alexandrovich Kryukov 4,482
3 George Jonsson 3,057
4 Gihan Liyanage 2,445


Advertise | Privacy | Mobile
Web04 | 2.8.140916.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