samples.tutorials.to_sort.tsp
Class Generator
java.lang.Object
samples.tutorials.to_sort.tsp.Generator
public class Generator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
protected static final Logger LOGGER
rand
protected Random rand
n
protected int n
maxDist
protected int maxDist
dist
protected int[][] dist
hamPath
protected int[] hamPath
Generator
public Generator(Random rand,
int n,
int maxDist)
generateMatrix
public int[][] generateMatrix()
showHamPath
public String showHamPath()
Copyright © 2012. All Rights Reserved.