Generates a grid network.

generateGridNetwork(n.points.per.dim = NULL, n.dim = 2L, lower = 0,
  upper = 100, name = NULL)

Arguments

n.points.per.dim

[integer(1)]
Number of points in each dimension.

n.dim

[integer(1)]
Number of dimensions. Default ist 2.

lower

[numeric(1)]
Lower box constaint for cube. Default is 0.

upper

[numeric(1)]
Upper box constaint for cube. Default is 100.

name

[character(1) | NULL]
Optional name for the generated network. Default is NULL. In this case a random name is generated.

Value

[Network]

Note

Grid networks with depots are not supported at the moment.

Examples

x = generateGridNetwork(n.points.per.dim = 10L, upper = 50)