generateGridNetwork: Generates a grid network.

Description Usage Arguments Value Note Examples

View source: R/generateGridNetwork.R

Description

Generates a grid network.

Usage

1
2
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

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

netgen documentation built on May 30, 2017, 2:12 a.m.