generate_obstacle_problem: Generate Obstacle Problem

Description Usage Arguments Examples

View source: R/generate_obstacle_problem.R

Description

Generates random sets of obstacles and terminals

Usage

1
2
3
generate_obstacle_problem(problem_area = c(16, 10), obstacle_area = c(5, 5),
  n_obstacles = c(10, 10), n_vertices = c(15, 25), dist = "runif",
  convex = TRUE, n_points = 2)

Arguments

problem_area

Vector of length 2 specifying width and height of the problem area

n_vertices

Vector of length 2 specifying min and max number of vertices for an obstacle

dist

Distribution for generating starting points

convex

If TRUE, returns the convex hull of obstacles

n_points

Vector of length 2 specifying the number of points to be connected in the problem

obs_area

Vector of length 2 specifying width and height of the problem area

n_obs

Vector of length 2 specifying min and max number of obstacles to be generated

Examples

1

marcusvolz/steiner documentation built on April 25, 2018, 12:14 p.m.