rgpTestingAndBenchmarking: Utility functions for testing and benchmarking the RGP system

Description Usage Arguments Details Value

Description

rgpBenchmark measures the number of fitness evaluations per second performed by geneticProgramming. A number of samples experiments are performed.

Usage

1
2
3
4
rgpBenchmark(fitnessFunction = function(ind) 0, samples = 1, time = 10,
  ...)

evaluationsPerSecondBenchmark(f, samples = 1, time = 10, ...)

Arguments

f

The function under test.

fitnessFunction

The fitness function to pass to the call to geneticProgramming.

samples

The number of indpendent measurements to perform, defaults to 1.

time

The time in seconds a sample lasts, defaults to 10 seconds.

...

Options as passed to the function under test.

Details

evaluationsPerSecondBenchmark measures the number of times a function can be called per second in a tight loop.

Value

The number of fitness evaluations per second performed by RGP.


rgp documentation built on May 30, 2017, 12:45 a.m.