enum BRKGA::BiasFunctionType

Overview

Specifies a bias function type when choosing parents to mating (r is a given parameter). More…

#include <brkga_mp_ipr.hpp>

enum BiasFunctionType {
    CONSTANT,
    CUBIC,
    EXPONENTIAL,
    LINEAR,
    LOGINVERSE,
    QUADRATIC,
    CUSTOM,
};

Detailed Documentation

Specifies a bias function type when choosing parents to mating (r is a given parameter).

This function substitutes the rhoe parameter from the original BRKGA.

Enum Values

CONSTANT

\(\frac{1}{\text{num. parents for mating}}\) (all individuals have the same probability).

CUBIC

\(r^{-3}\)

EXPONENTIAL

\(e^{-r}\)

LINEAR

\(1/r\)

LOGINVERSE

\(\frac{1}{\log(r + 1)}\) (usually works better than other functions).

QUADRATIC

\(r^{-2}\)

CUSTOM

Indicates a custom bias function supplied by the user.