Codota Logo
TransitRouterNetworkTravelTimeAndDisutility.getWalkTravelDisutility
Code IndexAdd Codota to your IDE (free)

How to use
getWalkTravelDisutility
method
in
org.matsim.pt.router.TransitRouterNetworkTravelTimeAndDisutility

Best Java code snippets using org.matsim.pt.router.TransitRouterNetworkTravelTimeAndDisutility.getWalkTravelDisutility (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: matsim-org/matsim

private double getWalkDisutility(Person person, Coord coord, Coord toCoord) {
  return this.ttCalculator.getWalkTravelDisutility(person, coord, toCoord);
}

origin: matsim-org/matsim

@Override
public double getWalkTravelDisutility(Person person, Coord coord, Coord toCoord) {
  return routerDisutility.getWalkTravelDisutility(person, coord, toCoord);
}
origin: matsim-org/matsim

/**
 * Get the very next transitNode.
 * @param person Which person we are routing for. For default leave null.
 * @param coord The origin of the tree.
 * @param departureTime The time the person departures at the origin.
 * @return the next transitNode.
 */
private Map<Node, InitialNode> locateWrappedNearestTransitNode(Person person, Coord coord, double departureTime) {
  TransitRouterNetwork.TransitRouterNetworkNode nearestNode = network.getNearestNode(coord);
  Map<Node, InitialNode> wrappedNearestNodes = new LinkedHashMap<>();
  Coord toCoord = nearestNode.stop.getStopFacility().getCoord();
  double initialTime = travelDisutility.getWalkTravelTime(person, coord, toCoord);
  double initialCost = travelDisutility.getWalkTravelDisutility(person, coord, toCoord);
  wrappedNearestNodes.put(nearestNode, new InitialNode(initialCost, initialTime + departureTime));
  return wrappedNearestNodes;
}
org.matsim.pt.routerTransitRouterNetworkTravelTimeAndDisutilitygetWalkTravelDisutility

Popular methods of TransitRouterNetworkTravelTimeAndDisutility

  • getLinkTravelTime
  • getWalkTravelTime
  • <init>
  • getVehArrivalTime
  • defaultTransferCost
    convenience method for derived classes in order to bring Manuel's version closer to this one here. k
  • getLinkTravelDisutility
  • offVehicleWaitTime
    method to allow inclusion of offVehicleWaitTime without code replication. kai, oct'12

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • startActivity (Activity)
  • onRequestPermissionsResult (Fragment)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now