Tabnine Logo
QLinkI.getLink
Code IndexAdd Tabnine to your IDE (free)

How to use
getLink
method
in
org.matsim.core.mobsim.qsim.qnetsimengine.QLinkI

Best Java code snippets using org.matsim.core.mobsim.qsim.qnetsimengine.QLinkI.getLink (Showing top 4 results out of 315)

origin: matsim-org/matsim

public Link getLink() {
  return this.ql.getLink();
}
origin: matsim-org/matsim

this.tempLinks[inLinksCounter] = link;
inLinksCounter++;
inLinksCapSum += link.getLink().getCapacity(now);
QLinkI link = this.tempLinks[i];
if (link != null) {
  selCap += link.getLink().getCapacity(now);
  if (selCap >= rndNum) {
    inLinksCapSum -= link.getLink().getCapacity(now);
    this.tempLinks[i] = null;
    this.moveLink(link, now);
origin: matsim-org/matsim

  return AcceptTurn.ABORT ;
if (currentLink.getToNode() != nextQLink.getLink().getFromNode()) {
  log.warn("Cannot move vehicle " + veh.getId() + " from link " + currentLink.getId() + " to link " + nextQLink.getLink().getId());
  return AcceptTurn.ABORT ;
origin: matsim-org/matsim

Link currentLink = fromLink.getLink() ;
org.matsim.core.mobsim.qsim.qnetsimengineQLinkIgetLink

Popular methods of QLinkI

  • getAcceptingQLane
  • getOfferingQLanes
  • addParkedVehicle
    add vehicle at "activity" location Seems ok as public interface function. Rename to "addToParking(..
  • clearVehicles
    Seems ok as public interface function. kai, aug'15
  • doSimStep
    Seems ok as public interface function. kai, aug'15
  • isNotOfferingVehicle
  • letVehicleDepart
    Agent that ends a leg or an activity is computationally passed to the QSim. If the next PlanElement
  • registerAdditionalAgentOnLink
    if you want an agent visualized while he/she is computationally not on the link, register him/her he
  • registerDriverAgentWaitingForCar
    this is for driver agents who want to depart but their car is not (yet) there. Subject to design cha
  • removeParkedVehicle
    remove vehicle from "activity" location
  • unregisterAdditionalAgentOnLink
    inverse of "registerAdditionalAgentOnlyLink"
  • unregisterAdditionalAgentOnLink

Popular in Java

  • Reactive rest calls using spring rest template
  • findViewById (Activity)
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Collectors (java.util.stream)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now