Crate tspf[][src]

Expand description

A library for parsing TSPLIB file formats.

The original documentation for TSPLIB can be found in the website of Ruprecht-Karls-Universität Heidelberg.

Modules

metric

Structs

Point

Represents a node coordinate.

Tsp

Represents a parsed TSP dataset.

TspBuilder

Responsible for constructing an instance of Tsp.

Enums

CoordKind

Specifies how node coordinates are stored in a file.

DisplayKind

Specifies how node coordinates for display purpose are stored in a file.

EdgeFormat

Specifies how list of edges are stored in a file.

ParseTspError

An enum for errors that might occur during parsing.

TspKind

Enum for TSP’s variants.

WeightFormat

Specifies how edge weights are stored in a file.

WeightKind

An enum for distance functions defined in the TSPLIB format.