Uses of Class
com.google.ortools.constraintsolver.SWIGTYPE_p_absl__InlinedVectorT_long_8_t
Packages that use SWIGTYPE_p_absl__InlinedVectorT_long_8_t
-
Uses of SWIGTYPE_p_absl__InlinedVectorT_long_8_t in com.google.ortools.constraintsolver
Methods in com.google.ortools.constraintsolver that return SWIGTYPE_p_absl__InlinedVectorT_long_8_tModifier and TypeMethodDescriptionRoutingModel.RouteDimensionTravelInfo.TransitionInfo.PiecewiseLinearFormulation.getX_anchors()The set of *increasing* anchor cumul values for the interpolation.RoutingModel.RouteDimensionTravelInfo.TransitionInfo.PiecewiseLinearFormulation.getY_anchors()The y values used for the interpolation:
For any x anchor value, let i be an index such that
x_anchors[i] ≤ x < x_anchors[i+1], then the y value for x is
y_anchors[i] * (1-λ) + y_anchors[i+1] * λ, with
λ = (x - x_anchors[i]) / (x_anchors[i+1] - x_anchors[i]).Methods in com.google.ortools.constraintsolver with parameters of type SWIGTYPE_p_absl__InlinedVectorT_long_8_tModifier and TypeMethodDescriptionprotected static longSWIGTYPE_p_absl__InlinedVectorT_long_8_t.getCPtr(SWIGTYPE_p_absl__InlinedVectorT_long_8_t obj) voidRoutingModel.RouteDimensionTravelInfo.TransitionInfo.PiecewiseLinearFormulation.setX_anchors(SWIGTYPE_p_absl__InlinedVectorT_long_8_t value) The set of *increasing* anchor cumul values for the interpolation.voidRoutingModel.RouteDimensionTravelInfo.TransitionInfo.PiecewiseLinearFormulation.setY_anchors(SWIGTYPE_p_absl__InlinedVectorT_long_8_t value) The y values used for the interpolation:
For any x anchor value, let i be an index such that
x_anchors[i] ≤ x < x_anchors[i+1], then the y value for x is
y_anchors[i] * (1-λ) + y_anchors[i+1] * λ, with
λ = (x - x_anchors[i]) / (x_anchors[i+1] - x_anchors[i]).protected static longSWIGTYPE_p_absl__InlinedVectorT_long_8_t.swigRelease(SWIGTYPE_p_absl__InlinedVectorT_long_8_t obj)