Skip to main content

Module benchmarks

Module benchmarks 

Source
Expand description

Benchmark fitness functions

This module provides standard benchmark functions for testing evolutionary algorithms.

Structs§

Ackley
Ackley function
DixonPrice
Dixon-Price function
Griewank
Griewank function: f(x) = Σxᵢ²/4000 - Πcos(xᵢ/√i) + 1
LeadingOnes
LeadingOnes function for bit strings
Levy
Levy function
NkLandscape
NK Landscape
OneMax
OneMax function for bit strings
Rastrigin
Rastrigin function: f(x) = 10n + Σ(xᵢ² - 10cos(2πxᵢ))
Rosenbrock
Rosenbrock function: f(x) = Σ[100(xᵢ₊₁-xᵢ²)² + (1-xᵢ)²]
RoyalRoad
Royal Road function
SchafferN1
Schaffer N.1 multi-objective problem
Schwefel
Schwefel function
Sphere
Sphere function: f(x) = Σxᵢ²
StyblinskiTang
Styblinski-Tang function
Zdt1
ZDT1 multi-objective test problem
Zdt2
ZDT2 multi-objective test problem
Zdt3
ZDT3 multi-objective test problem

Traits§

BenchmarkFunction
Trait for benchmark functions