Uses of Interface
org.cicirello.search.problems.tsp.TSPEdgeDistance
Packages that use TSPEdgeDistance
Package
Description
Classes and interfaces related to the Traveling Salesperson Problem (TSP).
-
Uses of TSPEdgeDistance in org.cicirello.search.problems.tsp
Classes in org.cicirello.search.problems.tsp that implement TSPEdgeDistanceModifier and TypeClassDescriptionfinal classA Euclidean distance function for use withTSPinstances.Constructors in org.cicirello.search.problems.tsp with parameters of type TSPEdgeDistanceModifierConstructorDescriptionDouble(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.