Note that you can also use it with distance matrix only (or time matrix). But ones you set a particular distance, this expects distance-entries for all relations. This counts also for a particular time. If the method getTransportCosts(...) is then invoked for a relation, where no distance can be found, an IllegalStateException will be thrown. Thus if you want to only use distances only, do not use addTransportTime(...). @author schroeder
|
|