Skip to content

3.0.0

Compare
Choose a tag to compare
@giacomelli giacomelli released this 06 Sep 01:07
· 56 commits to master since this release

.NET 6

With version 3.0.0, GeneticSharp now supports .NET 6.

Performance improvements

The performance of many operations has been improved just for use .NET 6:

Chromosomes

image

Crossovers

image

Task executors

image

Mutations

image

Randomizations

image

Reinsertions

image

Selections

image

Terminations

image

More about performance: https://github.com/giacomelli/GeneticSharp/wiki/Performance.

Streamlining namespaces

To avoid the necessity to write many using statements to write a basic genetic algorithm with GeneticSharp:

using GeneticSharp.Domain;
using GeneticSharp.Domain.Crossovers;
using GeneticSharp.Domain.Mutations;
using GeneticSharp.Domain.Populations;
using GeneticSharp.Domain.Selections;
using GeneticSharp.Domain.Terminations;
using GeneticSharp.Infrastructure.Framework.Threading;

The namespaces needed to use GeneticSharp have been simplified to just two:

using GeneticSharp;

and this one if you want to use the extensions:

using GeneticSharp.Extensions;

Installing

.NET 6

Only GeneticSharp:

install-package GeneticSharp

GeneticSharp and extensions (TSP, AutoConfig, Bitmap equality, Equality equation, Equation solver, Function builder, etc):

install-package GeneticSharp.Extensions

Unity3D

You should use the UnityNuGet to install GeneticSharp directly from NuGet.

Or you can use the latest GeneticSharp.unitypackage available in the Assets section of this release.

.NET Standard 2.0 and .NET Framework 4.6.2

To install previous version that support .NET Standard 2.0 and .NET Framework 4.6.2:

install-package GeneticSharp -Version 2.6.0

Mono and .NET Framework 3.5

To install previous version that support .NET Framework 3.5:

install-package GeneticSharp -Version 1.2.0

More about installing/setup: https://github.com/giacomelli/GeneticSharp/wiki/Setup.