21 package org.matsim.core.network.algorithms;
23 import org.apache.logging.log4j.LogManager;
24 import org.apache.logging.log4j.Logger;
38 log.info(
"running " + this.getClass().getName() +
" module...");
39 log.info(
" adapting link length to at least 'overLengthFactor * euclidean distance' (works properly only for eucledian coord systems)");
40 log.info(
" also ceil link length to meters");
41 log.info(
" overLengthFactor: "+overLengthFactor);
45 if (dist > l.getLength()) { l.setLength(dist); }
46 double len = Math.ceil(l.getLength());
void run(Network network)
static double calcEuclideanDistance(Coord coord, Coord other)
static final double overLengthFactor
Map< Id< Link >, ? extends Link > getLinks()