Class RoutingModel.RouteDimensionTravelInfo.TransitionInfo

java.lang.Object
com.google.ortools.constraintsolver.RoutingModel.RouteDimensionTravelInfo.TransitionInfo
Enclosing class:
RoutingModel.RouteDimensionTravelInfo

public static class RoutingModel.RouteDimensionTravelInfo.TransitionInfo extends Object
Contains the information for a single transition on the route.
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • TransitionInfo

      public TransitionInfo(long cPtr, boolean cMemoryOwn)
    • TransitionInfo

      public TransitionInfo()
  • Method Details

    • getCPtr

      public static long getCPtr(RoutingModel.RouteDimensionTravelInfo.TransitionInfo obj)
    • swigRelease

      public static long swigRelease(RoutingModel.RouteDimensionTravelInfo.TransitionInfo obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • setTravel_start_dependent_travel

      public void setTravel_start_dependent_travel(RoutingModel.RouteDimensionTravelInfo.TransitionInfo.PiecewiseLinearFormulation value)
      Models the (real) travel value Tᵣ, for this transition based on the
      departure value of the travel.
    • getTravel_start_dependent_travel

      Models the (real) travel value Tᵣ, for this transition based on the
      departure value of the travel.
    • setTravel_compression_cost

      travel_compression_cost models the cost of the difference between the
      (real) travel value Tᵣ given by travel_start_dependent_travel and the
      compressed travel value considered in the scheduling.
    • getTravel_compression_cost

      travel_compression_cost models the cost of the difference between the
      (real) travel value Tᵣ given by travel_start_dependent_travel and the
      compressed travel value considered in the scheduling.
    • setPre_travel_transit_value

      public void setPre_travel_transit_value(long value)
      The parts of the transit which occur pre/post travel between the
      nodes. The total transit between the two nodes i and j is
      = pre_travel_transit_value + travel(i, j) + post_travel_transit_value.
    • getPre_travel_transit_value

      public long getPre_travel_transit_value()
      The parts of the transit which occur pre/post travel between the
      nodes. The total transit between the two nodes i and j is
      = pre_travel_transit_value + travel(i, j) + post_travel_transit_value.
    • setPost_travel_transit_value

      public void setPost_travel_transit_value(long value)
    • getPost_travel_transit_value

      public long getPost_travel_transit_value()
    • setCompressed_travel_value_lower_bound

      public void setCompressed_travel_value_lower_bound(long value)
      The hard lower bound of the compressed travel value that will be
      enforced by the scheduling module.
    • getCompressed_travel_value_lower_bound

      public long getCompressed_travel_value_lower_bound()
      The hard lower bound of the compressed travel value that will be
      enforced by the scheduling module.
    • setTravel_value_upper_bound

      public void setTravel_value_upper_bound(long value)
      The hard upper bound of the (real) travel value Tᵣ (see
      above). This value should be chosen so as to prevent
      the overall cost of the model
      (dimension costs + travel_compression_cost) to overflow.
    • getTravel_value_upper_bound

      public long getTravel_value_upper_bound()
      The hard upper bound of the (real) travel value Tᵣ (see
      above). This value should be chosen so as to prevent
      the overall cost of the model
      (dimension costs + travel_compression_cost) to overflow.
    • toString

      public String toString(String line_prefix)
    • toString

      public String toString()
      Overrides:
      toString in class Object