solver_abc: Artificial Bee Colony Solver (Togashi Version)

Description Usage Arguments Details Value References

View source: R/solver_abc.R

Description

Solves a instance of the 3-GCP problem using the Artificial Bee Colony (ABC) implementation described in Togashi et al., 2017.

Usage

1
solver_abc(G, nfe, args)

Arguments

G

the graph to be solved, represented by a list where G$V is the number of nodes, and G$E is a |E|x2 matrix of edges.

nfe

the number of function evaluations. The solver will stop after this number has been exceeded.

args

a list with arguments for the method. The list must contain the following names:

  • pop: Integer > 0. The size of the solution set X

  • onlooker: Integer > 0. The number of solutions chosen in step 2 of the algorithm.

  • scout: Integer > 0. The number of solutions chosen in step 3 of the algorithm.

  • limit: Integer > 0. Minimum number of iterations without improvement before a solution will be considered for step 3.

  • c: Number of elements in a solution exchanged during a mutation step.

Details

The ABC algorithm begins with a random set of solutions X, and at every iteration performs the following three steps:

Mutate.abc(x_i, x_j, c) generates a new individual as follows: 'c' elements are choosen randomly from x_j, and copied into x_i.

Value

A list with three names:

References

Yuuya Togashi, Claus Aranha, Hitoshi Kanoh, "Artificial Bee Colony Algorithm for Solving Graph Coloring Problem", Proceedings of the IPSJ, 2017


caranha/EvoGCP documentation built on May 3, 2021, 3:40 p.m.