de.cm.osm2po.tsp
Class TspDefaultMatrix

java.lang.Object
  extended by 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

Constructor Summary
TspDefaultMatrix(Graph graph, int[] vertexIds, float maxCost, Log log, java.util.Properties params)
           
 
Method Summary
 float[][] getCosts()
           
 int[][][] getPaths()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TspDefaultMatrix

public TspDefaultMatrix(Graph graph,
                        int[] vertexIds,
                        float maxCost,
                        Log log,
                        java.util.Properties params)
Method Detail

getCosts

public float[][] getCosts()
Specified by:
getCosts in interface TspMatrix

getPaths

public int[][][] getPaths()
Specified by:
getPaths in interface TspMatrix

osm2po-core-4.8.8 (c) 2012 Carsten Moeller - info@osm2po.de