GeneticSharp Car2D

I made an Unity3D sample for GeneticSharp inspired by amazing BoxCar2D where a genetic algorithm tries to design 2D cars to overcome roads challenges. Introduction I was always amazed by the 2D cars designed by BoxCar2D and see how genetic algorithm make new and (probably) better cars each new generation...
Read "GeneticSharp Car2D"

GeneticSharp - Unity3d sample

I just pushed to GeneticSharp master branch the GeneticSharp.Runners.UnityApp. In this Unity3d project there are 3 samples: Car2D Based on famous BoxCar2D, this sample uses a genetic algorithm to create car designs to overcome road challenges, like gaps, hills, and obstacles. A post explaining this sample in detail will be...
Read "GeneticSharp - Unity3d sample"

TSP with GeneticSharp and Unity3D

In this post I will show how to use GeneticSharp and Unity3D to solve the TSP (Travelling salesman problem). Introduction According to Wikipedia “The travelling salesman problem (TSP) asks the following question: “Given a list of cities and the distances between each pair of cities, what is the shortest possible...
Read "TSP with GeneticSharp and Unity3D"

GeneticSharp v2.0.0 - .NET Core

The GeneticSharp v2.0.0 is out with support to .NET Standard 2.0 and .NET Framework 4.6.2. Introduction In march GenetichSharp start to support .NET Standard 2.0 in the 2.0.0-rc version. Two months have pass and in the meanwhile the community have time to test that release candidate version and now Unity3D...
Read "GeneticSharp v2.0.0 - .NET Core"

Porting GeneticSharp to .NET Core

The GeneticSharp v2.0.0-rc1 is out. In this version GeneticSharp starts to support .NET Standard 2.0 and .NET Framework 4.6.2. Porting to Introduction Sometime ago I started to porting GeneticSharp to .NET Core and today, after more than 40 hours of work, I finally finish it. Although GeneticSharp born as a...
Read "Porting GeneticSharp to .NET Core"

GeneticSharp v1.2.0 - Sequence mutations

The GeneticSharp v1.2.0 is out. The additions of this version are the new sequence mutation operators: Displacement, InsertionMutation and Partial Shuffle (PSM). Displacement Mutation: a substring is randomly selected from chromosome, is removed, then replaced at a randomly selected position. Insertion Mutation: a gene is randomly selected from chromosome, is...
Read "GeneticSharp v1.2.0 - Sequence m..."

Unity3D ScenePreview inspector

I’m working in a new game prototype and in this process I was creating some experimental levels to test the mechanics, but by the name of scene I was having dificult to remember which mechanic the level was about and I had to open each level to discover that one...
Read "Unity3D ScenePreview inspector"

Function optimization with GeneticSharp

In this tutorial we will learn how to use GeneticSharp to optimize the inputs of math function and more about genetic algorithms meanwhile. Introduction I created GeneticSharp a long time ago because three main reasons: I needed a fast, extensible, multi-platform and multithreading C# genetic algorithm library to use in...
Read "Function optimization with Genet..."