All functions

TSPSolverResult

TSP-Solver result object.

addNodeWeights()

Add node weights.

as.character(<Network>)

Get basic network information as a string.

as.data.frame(<Network>)

Convert network to data frame.

as.matrix(<Network>)

Convert network to matrix.

autoplot(<Network>)

Autoplot function.

computeTourLength()

Compute tour length given a TSP instance and a tour/permutation.

dynamise()

Add dynamic arrival times to nodes.

exportToFile()

Exports a network to an proprietary format.

exportToTSPlibFormat()

Exports a network to the TSPlib format.

filterTSPInstances()

Filter TSPlib instances according to its specifications.

findShortestHamiltonianPath()

Shortest Hamiltonian Path computation.

generateClusteredNetwork()

Function for generation of clustered networks

generateGridNetwork()

Generates a grid network.

generateRandomNetwork()

Generates a random graph in a hypercube.

getAngleFeatureSet()

Feature: statistics of angles between nodes and their two nearest neighbors.

getAvailableFeatureSets()

Available feature (sub)sets.

getAvailableSolverNames()

Returns all currently implemented solver names.

getBoundingBoxFeatureSet()

Feature: fraction of points near bounding boxplot.

getCentroidFeatureSet()

Feature: Centroid coordinates and statistics of distances to centroid.

getClusterFeatureSet()

Feature: statistics of the minimum spanning tree edges.

getConvexHullFeatureSet()

Feature: number of points on convex hull and spanning area.

getDefaultFeatureFunArgs()

Returns list of parameters defaults for feature computation.

getDepotCoordinates()

Get coordinates of depots.

getDistanceFeatureSet()

Feature: Statistics of Nearest-Neighbour distances.

getFeatureSet()

Feature: all features.

getMSTFeatureSet()

Feature: statistics of the minimum spanning tree edges.

getModesFeatureSet()

Feature: modes features.

getMonitoringFeatureSet()

Feature: monitoring of algorithm runs.

getNNGFeatureSet()

Feature: statistics of the nearest neighbour graph

getNearestNeighbourFeatureSet()

Feature: Statistics of Nearest-Neighbour distances.

getNumberOfClusters()

Get the number of clusters of a network.

getNumberOfDepots()

Returns the number of depots of a network.

getNumberOfNodes()

Returns number of nodes of a network.

getOptimalPointMatching()

Computes optimal point assignment for two sets of points of equal size.

getPointDistributionStrategies()

Returns the available strategies for distributing points around clusters.

getSolverProperties()

Get the properties/tags of the solver.

getTSPInstancesOverview()

Get an overview of instances in a directory.

getVRPFeatureSet()

Feature: Statistics of distances between obligatory/optional customers and depots.

getValidEdgeWeightTypes()

Get TSPlib edge weight types.

hasDepots()

Check if network has depots.

hasProperties()

Check if learner has certain properties.

importFromFile()

Import a network from proprietary format.

importFromTSPlibFormat()

Import network from (extended) TSPlib format.

isEuclidean()

Check if network is euclidean.

isExternalSolver()

Check if solver is called via an external binary.

isNetwork()

Check if object is Network.

makeNetwork()

Generate network based on coordinates.

makeSolver()

Generator for TSP solvers.

makeTSPSolver()

Make TSP solver dispatcher.

measureTime()

Helper for measuring time.

morphInstances()

Morphing of two networks with a convex combination of the coordinates.

print(<TSPSolverResult>)

Print TSPSolverResult to stdout.

readTSPlibTOURFile()

Extract tour from TSPlib tour file.

rescaleNetwork()

Rescale network

run()

Run a TSP solver to solve a problem instance.

run(<eax>)

Solver: EAX

run(<eaxw>)

Solver: EAX weighted

run(<lkh>)

Solver: LKH

runSolver()

Apply TSP solver to instance.

skew()

Computes skewness of a numeric vector (analogous to skewness type 3 of e1071)

solverPaths()

Set paths to the executables of solvers only available in binary format.

visualizeMorphing()

Fancy visualization of morphing.

visualizePointMatching()

Visualize point matching.

writeTSPlibTOURFile()

Export tour.