getTSPInstancesOverview: Get an overview of instances in a directory.

View source: R/getTSPInstancesOverview.R

getTSPInstancesOverviewR Documentation

Get an overview of instances in a directory.

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

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]


jakobbossek/netgen documentation built on Feb. 11, 2024, 1:02 a.m.