de.cm.osm2po.tsp
Class TspDefaultMatrix
java.lang.Object
de.cm.osm2po.tsp.TspDefaultMatrix
- All Implemented Interfaces:
- TspMatrix
public class TspDefaultMatrix
- extends java.lang.Object
- implements TspMatrix
Default-Implementation / Erstellung einer Kostenmatrix
auf Basis des osm2po-Routings.
- Author:
- (c) 2013 - Carsten Moeller - info@osm2po
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TspDefaultMatrix
public TspDefaultMatrix(Graph graph,
int[] vertexIds,
float maxCost,
Log log,
java.util.Properties params)
getCosts
public float[][] getCosts()
- Specified by:
getCosts
in interface TspMatrix
getPaths
public int[][][] getPaths()
- Specified by:
getPaths
in interface TspMatrix