Click here to Skip to main content
15,885,216 members
Everything / Genetic

Genetic

genetic

Great Reads

by Emiliano Musso
How to apply GA techniques fo solving problems in VB.NET. The example shows how to create solutions for a 2D maze, which will evolve to find the shortest path between two points.
by Dr. Ivan S Zapreev
Grammar-Guided Genetic Programming library featuring: multi-threading, just-in-time compilation of individuals, dynamic class loading, and JNI interfacing with C/C++ code
by Dmitriy Gakh
An introduction to Genetic Algorithms with brief reference to biology and example of finding one solution for complex mathematical equation
by hemanthk119
Genetic Mutations of Neural Networks to produce better offspring in fish like virtual creatures

Latest Articles

by Dmitriy Gakh
An introduction to Genetic Algorithms with brief reference to biology and example of finding one solution for complex mathematical equation
by Dr. Ivan S Zapreev
Grammar-Guided Genetic Programming library featuring: multi-threading, just-in-time compilation of individuals, dynamic class loading, and JNI interfacing with C/C++ code
by Clinton Sheppard
A hands-on, step-by-step introduction to machine learning with genetic algorithms using Python.
by hemanthk119
Genetic Mutations of Neural Networks to produce better offspring in fish like virtual creatures

All Articles

Sort by Score

Genetic 

8 Feb 2015 by Emiliano Musso
How to apply GA techniques fo solving problems in VB.NET. The example shows how to create solutions for a 2D maze, which will evolve to find the shortest path between two points.
22 Feb 2018 by Dr. Ivan S Zapreev
Grammar-Guided Genetic Programming library featuring: multi-threading, just-in-time compilation of individuals, dynamic class loading, and JNI interfacing with C/C++ code
12 Apr 2015 by Peter Leow
Understanding the mechanism of GA is already hard, not to mention trying to interpret other people's code that implements it. That is even harder if you never code before. Come back to the GA, you can create a model like this:1. Represent each potential solution by a 40 gene-chromosome,...
2 Feb 2022 by Richard MacCutchan
This is a repost of your question of yesterday which you deleted. So instead of delete and repost you should engage with the person who first answered you.
11 Mar 2015 by Sergey Alexandrovich Kryukov
Please see:http://www.sciencedirect.com/science/article/pii/S111086651000023X[^],http://ieeexplore.ieee.org/xpl/articleDetails.jsp?reload=true&arnumber=592343[^],http://worldcomp-proceedings.com/proc/p2011/GEM3983.pdf[^]...—SA
11 Mar 2015 by Asif Balgar
Hi Guys,I need help to implement shortest path in a weighted graph using genetic algorithm in java. I have spent over a month struggling to figure it out. I see all scholarly papers and theory but very little help on the implementation/code front. This is new to me. if anyone could help...
16 Mar 2015 by Darren_vms
You could use jgrapht[^] complete source code is available as well/Darren
3 Apr 2015 by Member 11418478
I'm working on Transport Salesman Problem solution with a Genetic Algorithm.Some chromosomes are contain the shortest way, but they still aren't appropriate. For example, a salesman must get to the A city at 6.00 pm, but using the solution of a chromosome he'll get there at 7.00 pm. Thus,...
3 Apr 2015 by Peter Leow
It is a matter of how you want to handle the various constraints in your GA model. There can be 2 types of constraints: 1. Hard Constraints: Requirements that must be met. You may discard such solutions or repair them by orchestrating a mutation.2. Soft Constraints: Requirements that can...
12 Apr 2015 by Member 11600557
Hello.. Can anyone please help me? I have to write a GA code to find the solution casethere are 10 questions with 4 choiceswhich means there are 4^10 = 1,048,576 cases and one of them is the solution case.I have understood that the length of chromosomes must be 10 arrays and the size...
12 Apr 2015 by OriginalGriff
Finding source code on the internet is not a good way to do this: particularly if you have no idea what the code you have found does or how it does it.Seriously, you need to learn the subject and try it for yourself - you won't learn much (if anything) by "finding code" and trying to get us...
25 May 2015 by Member 11716743
Hi , I am trying to solve the facility location problem and one of the methods to solve it is by using the genetic algorithm . I have a fair understanding of how the algorithm works but i am unable to put it into code form .example problemThere are 3 levels and a total of 5...
25 May 2015 by chandanadhikari
hi,first of all the traversal paths need to be well defined. i.e. which all are the possible...
25 May 2015 by Member 11716743
Interesting . Yes it is something i can build upon . Finally i need to decide upon the ideal number of facilities to be set up among the potential facilities while minimizing the total cost . The hard constraint being that the demand at every client must be met . Thanks a lot !
28 Jun 2016 by Member 10539396
HelloI am preparing algorithms for optimal path finding in terrain with obstacles. Till now i implemented Dijsktra and A* algorithms. Now i have to implement genetic algorithm and I have problem. Firstly I will show you how my map representation looks. There are 7 different kinds of terrain...
17 Oct 2016 by Mujeeba Haj Najeeb
HelloI want to work on pathfinding project in C#.I googled about this topic to find out which discipline pathfinding was considered to be?Some papers said it's a game programming project but others said it's genetic algorithms one.Some other papers considered it to be under AI...
17 Oct 2016 by F-ES Sitecore
You probably mean "generic", not "genetic". I don't think it matters what you call it, it probably doesn't have a fixed name as there are different types of algorithm you can use to solve the problem. Look at "the travelling salesman problem" as well, you'll see a lot of commonality between...
17 Oct 2016 by CPallini
A 'pathfinding algorithm' is what the title says: just an algorithm able to find a somehow optimized path in a given scenario.Since this can be useful in game development then path finding algorithms are often used in such area (that doesn't mean it is a game programming topic). Genetic...
18 Mar 2017 by takatok
The code is functionally equivalent. You say that your problem is that qc[0] is often 0 and its causing problems. With your code your taking some C_dat array and converting every EVEN index of that array (0,2,4,etc) into a double and adding it to qc[0]. So the only reason qc[0] should equal...
29 Jan 2018 by OriginalGriff
Your syntax error is obvious: List() = MyClass... You need to name the variable, and get rid of the brackets: List myList = MyClass... But... as debasish suggested, passing an SQL command as text is very dangerous: it exposes you to SQL Injection if you aren't very, very...
8 Apr 2018 by Hajar_mohad
hello, I have used a general genetic algorithm code in java, but I didn't understand how to make it work with my problem . my problem is " a way to choose which user to assign to WiFi or LiFi based on some inputs? I understand the way it is working in but I don't know if I should assume the...
10 Dec 2018 by TheBigBearNow
Hello everyone, I have a database table to store my receipt info and on my receipt I have a list of products on the receipt. To store a list I read I need to make another table of that list data and to link the receipt and list of my products together I’m supposed to link with receiptid. To...
10 Dec 2018 by RickZeeland
You can also use LINQ, this will take some study but provides a lot of power and flexibility. See example here: Simple LINQ to SQL in C#[^] And here: Querying SQL Server databases using LINQ to SQL[^]
19 Feb 2019 by neveen neveen
How can I apply the mutation on the two child that produce from crossover in SSGA , Can I apply it just on the best child ? for example What I have tried: "p1= 2 3 4 7 8 p2= 3 5 7 8 1 ch1= 2 3 7 7 8 fit= 5 this the best chid => ch1 after mutation = 0 2 3 7 7 8 ch2= 3 5 4 8 1" fit= 2
19 Feb 2019 by RickZeeland
See CodeProject article here: Implementing Genetic Algorithms in C#[^]
24 Nov 2021 by Stefan_Lang
Quote: develop a algorithm to reduce the waiting time of the payment line of a supermarket Solution: open all payment boxes. Hint: I think you failed to mention restrictions, limitations and the optimization target. If you want help to...
11 Mar 2022 by Harsh Brar
lets say we have the equation t = 122.14-0.84.*x(1)-0.42.*x(2)+0.34.*x(3)-0.09.*x(4)+363.77.*x(5); It have 5 variables and have some lower and upper bounds. i perform genetic algorithm and got optimum values as answers. now whatever value I...
15 Dec 2018 by Dmitriy Gakh
An introduction to Genetic Algorithms with brief reference to biology and example of finding one solution for complex mathematical equation
28 Jan 2016 by hemanthk119
Genetic Mutations of Neural Networks to produce better offspring in fish like virtual creatures
17 Mar 2017 by Patrice T
When you don't understand what your code is doing or why it does what it does, the answer is debugger.Use the debugger to see what your code is doing. Just set a breakpoint and see your code performing, the debugger allow you to execute lines 1 by 1 and to inspect variables as it execute, it...
6 Jun 2016 by Clinton Sheppard
A hands-on, step-by-step introduction to machine learning with genetic algorithms using Python.
18 Apr 2019 by OriginalGriff
Compiling does not mean your code is right! :laugh: Think of the development process as writing an email: compiling successfully means that you wrote the email in the right language - English, rather than German for example - not that the email contained the message you wanted to send. So now...
18 Apr 2019 by CPallini
I order to make operations (e.g. compare rows) with your data, you should store it (your code overwrites the same array). Try, as a starting point #include #include #define SIZE 20 void init(int a[SIZE][SIZE], int sum[SIZE]); void dump(int a[SIZE][SIZE], int sum[SIZE]); ...
29 Apr 2016 by Sicppy
So in general when you perform a crossover in GA, you directly flip a random section in the "genome", with the corresponding section in the other parent, and mutate it based on the mutation rate.Consider the sequences below:0100 1000 0001 10110010 0110 1101 1111A crossover without...
18 Apr 2019 by User 14282016
Hello :) I have homework for genetic algorithm. I've created a 20x20 array of 0 and 1s and I've counted how many 1s in a row. After this stage, I could not progress. Please help me:) I want to pick two random row and compare. After this stage whichever is have more 1 it will be selected. I want...
24 Jan 2022 by Diogo Rocha 2021
Recently, I got a challenge to develop an algorithm to reduce the waiting time of the payment line of a supermarket. I was planning to use a genetic algorithm, but I want to know if this should be the approach to the problem. I don't know in...
29 Apr 2016 by Peter Leow
Before crossing over, check their return types. If the return types are not comparable, pick another chromosome. You should have a large population to pick from.
18 Mar 2017 by dfarr1
Hi there,I have a program that is filling List c_dat and t_dat with 2, 4, or 6 numbers at a time. Then the next step does some math to figure out variance and keep track of things by appending them. The problem is that the qC[0] item is quite often 0 and this is causing me a lot of...
29 Jan 2018 by bernova
as follow : as Follow : public List GetDataReader(string Command, int Cap) { SqlConnection con = this.openConnection(); List arr = new List(Cap); object[] values = null; int fieldCount = 0; try ...