getTSPInstancesOverview: Get an overview of instances in a directory.

Description Usage Arguments Value

View source: R/getTSPInstancesOverview.R

Description

This function expects a directory and returns a data frame containing the most important properties, e. g., dimension, edge weight type, of all TSPlib instances (with file extensions tsp) in that directory. Moreover, the data frame contains information on the availiability of the optimal tour length (files tsp.opt) and optimal tour (tsp.tour).

Usage

1
getTSPInstancesOverview(directory, append.filename = FALSE)

Arguments

directory

[character(1)]
Readable directory path.

append.filename

[logical(1)]
Should the full file names be appended to the data frame? Default is FALSE.

Value

[data.frame]


netgen documentation built on Jan. 9, 2020, 1:07 a.m.