This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Returns the order to visit predefined products of certain store in minimal distance | |
* which returns the sequence number to visit these products | |
* | |
* @author Ayman Mahgoub | |
* | |
*/ | |
public class TravellingSalesMan { | |
private double[][] distances; | |
private short minDistances[][], paths[][]; |