generate_2d_instance: Generate a problem instance

View source: R/generate_2d_instance.R

generate_2d_instanceR Documentation

Generate a problem instance

Description

Generate a problem instance

Usage

generate_2d_instance(
  seed = 1,
  no_of_points = 50,
  interval = c(min = -10, max = 10),
  arv = c(min = 1/120, max = 1),
  ar_dist_type = "uniform"
)

Arguments

seed

Seed to ensure reproducibility

no_of_points

The number of demand points

interval

A named vector of the range for the x and y axis

arv

A named vector of the range in the arrival rate (measured in requests per minute)

ar_dist_type

Whether the distribution of arrival rates follows a "uniform" or "reciprocal" distribution

Value

A list

Examples

generate_2d_instance()

Rosenkrands/zav documentation built on March 31, 2022, 2:16 p.m.