return_3d_plot: Generate 3d function for a given objective function

Description Usage Arguments

View source: R/global_utils.R

Description

Generate 3d function for a given objective function

Usage

1
2
3
4
5
6
7
8
9
return_3d_plot(
  fu = "rosenbrock",
  minim = -1,
  maxim = 1,
  theta_input = "150",
  phi_input = "20",
  shade_input = 0.3,
  colour = "green"
)

Arguments

fu

the function to plot for

minim

Minimum limit of the axes

maxim

Maximum limit of the axes

theta_input

Angle defining the viewing direction. Theta gives the degree of the vertical rotation.

phi_input

Angle defining the viewing direction. Phi gives the degree of the horizontal rotation.

colour

The color(s) of the surface facets._input

shade_inputValues

Values of shade close to one yield shading similar to a point light source model and values close to zero produce no shading. Values in the range 0.5 to 0.75 provide an approximation to daylight illumination.


FelixBehne/ant.colony.optimization documentation built on Dec. 17, 2021, 8:25 p.m.