Click here to Skip to main content
15,747,637 members
Please Sign up or sign in to vote.
2.67/5 (3 votes)
See more:
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! :)
Posted
Updated 18-Feb-11 0:54am
v2
Comments
Sergey Alexandrovich Kryukov 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

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!
 
Share this answer
 
v3
Comments
Dylan Morley 18-Feb-11 7:26am    
Why was this marked down, looks like some good information

My 5
Sergey Alexandrovich Kryukov 18-Feb-11 11:16am    
I think I know why, please see my comment :-)
--SA
Sergey Alexandrovich Kryukov 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 18-Feb-11 21:38pm    
Thanks :D
I'm vote 5 for your answer :)
Member 11333313 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900