Genex v1.0.1-beta Genex.Tools.Benchmarks.Binary View Source

Benchmark objective functions for binary genetic algorithms.

Link to this section Summary

Functions

Royal Road objective function.

Royal Road 2 objective function.

Link to this section Functions

Link to this function

royal_road1(chromosome, order)

View Source

Royal Road objective function.

Returns math.

Parameters

  • chromosome: %Chromosome{}.
  • order: Integer.
Link to this function

royal_road2(chromosome, order)

View Source

Royal Road 2 objective function.

Returns math.

Parameters

  • chromosome: %Chromosome{}.
  • order: Integer.