Uses of Interface
org.cicirello.search.problems.tsp.TSPEdgeDistance
Package
Description
Classes and interfaces related to the Traveling Salesperson Problem (TSP).
-
Uses of TSPEdgeDistance in org.cicirello.search.problems.tsp
Modifier and TypeClassDescriptionfinal class
A Euclidean distance function for use withTSP
instances.ModifierConstructorDescriptionDouble
(double[] x, double[] y, TSPEdgeDistance distance) Constructs a TSP instance with city locations specified by arrays of x and y coordinates.Double
(int n, double w, TSPEdgeDistance distance) Constructs a random TSP instance with cities randomly distributed within a square region.Double
(int n, double w, TSPEdgeDistance distance, long seed) Constructs a random TSP instance with cities randomly distributed within a square region.DoubleMatrix
(double[] x, double[] y, TSPEdgeDistance distance) Constructs a TSP instance with city locations specified by arrays of x and y coordinates.DoubleMatrix
(int n, double w, TSPEdgeDistance distance) Constructs a random TSP instance with cities randomly distributed within a square region.DoubleMatrix
(int n, double w, TSPEdgeDistance distance, long seed) Constructs a random TSP instance with cities randomly distributed within a square region.Integer
(double[] x, double[] y, TSPEdgeDistance distance) Constructs a TSP instance with city locations specified by arrays of x and y coordinates.Integer
(int n, double w, TSPEdgeDistance distance) Constructs a random TSP instance with cities randomly distributed within a square region.Integer
(int n, double w, TSPEdgeDistance distance, long seed) Constructs a random TSP instance with cities randomly distributed within a square region.IntegerMatrix
(double[] x, double[] y, TSPEdgeDistance distance) Constructs a TSP instance with city locations specified by arrays of x and y coordinates.IntegerMatrix
(int n, double w, TSPEdgeDistance distance) Constructs a random TSP instance with cities randomly distributed within a square region.IntegerMatrix
(int n, double w, TSPEdgeDistance distance, long seed) Constructs a random TSP instance with cities randomly distributed within a square region.