mss.ea.ex.salesman
Class SalesmanMatrix
java.lang.Object
|
+--mss.ea.ex.salesman.SalesmanMatrix
- public class SalesmanMatrix
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
comment
protected java.lang.String comment
bestRoute
protected int[] bestRoute
bestValue
protected int bestValue
fileBuffer
protected java.util.ArrayList fileBuffer
dist
protected int[][] dist
SalesmanMatrix
public SalesmanMatrix(java.lang.String matrix)
read
protected java.util.ArrayList read(java.lang.String file)
process
protected void process(java.util.ArrayList buffer)
getComment
public java.lang.String getComment()
bestRoute
public int[] bestRoute()
bestValue
public int bestValue()
getDistance
public int getDistance(int x,
int y)
getDistance
public int getDistance(int[] sequence)
Copyright © 2000-2001 Technical University of Ilmenau, Department ESS