plot.tabu: R Based Tabu Search Plot Function

Description Usage Arguments Examples

Description

Plots features of an optimization run of the tabu search algorithm for binary strings. The default plots show: (a) the number of times each element of the string was set to one over the search, (b) frequency of moves for each element of the string over the serach, (c) the number of ones in the chosen configuration at each iteration, (d) the objective function value of the current configuration at each iteration of the algorithm. The "tracePlot" shows the current configurations for all interations.

Usage

1
2
## S3 method for class 'tabu'
plot(x, type = "default", ...)

Arguments

x

a tabu object.

type

"tracePlot" or default.

...

options directly passed to the plot function.

Examples

1
2
3
4
5
6
7
# A simple example

evaluateSimple <- function(th)return(1)
result <- tabuSearch(size = 20, iters = 100, objFunc = evaluateSimple) 

plot(result)
plot(result, "tracePlot")


Search within the tabuSearch package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.