plotResult: Plots optimization progress.

Description Usage Arguments Value Note

View source: R/plotResult.R

Description

This function generates ggplot objects for each iteration specified by step.size and returns these plots in a list. Moreover the plots can be rendered directly via the option pause.

Usage

1
plotResult(object, step.size = 1L, pause = FALSE, ...)

Arguments

object

[AntsResult]
Return value of runACOTSP or one of the shortcut functions, e.g., runAS.

step.size

[integer(1)]
Which iterations shall be plotted? Default is 1L.

pause

[logical(1)]
Should each plot be displayed after generation? Default is FALSE.

...

[any]
Currently not used.

Value

[list] A named list of ggplot objects.

Note

This function requires the storage of the entire optimization trace, i. e., set the parameter trace.all of makeACOTSPControl to TRUE.


jakobbossek/acotsp documentation built on May 18, 2019, 9:08 a.m.