| Package | Description |
|---|---|
| com.google.ortools.constraintsolver |
| Modifier and Type | Method and Description |
|---|---|
SWIGTYPE_p_absl__InlinedVectorT_long_8_t |
RoutingModel.RouteDimensionTravelInfo.TransitionInfo.PiecewiseLinearFormulation.getX_anchors()
The set of *increasing* anchor cumul values for the interpolation.
|
SWIGTYPE_p_absl__InlinedVectorT_long_8_t |
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]). |
| Modifier and Type | Method and Description |
|---|---|
protected static long |
SWIGTYPE_p_absl__InlinedVectorT_long_8_t.getCPtr(SWIGTYPE_p_absl__InlinedVectorT_long_8_t obj) |
void |
RoutingModel.RouteDimensionTravelInfo.TransitionInfo.PiecewiseLinearFormulation.setX_anchors(SWIGTYPE_p_absl__InlinedVectorT_long_8_t value)
The set of *increasing* anchor cumul values for the interpolation.
|
void |
RoutingModel.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 long |
SWIGTYPE_p_absl__InlinedVectorT_long_8_t.swigRelease(SWIGTYPE_p_absl__InlinedVectorT_long_8_t obj) |
Copyright © 2024. All rights reserved.