| Package | Description |
|---|---|
| com.google.ortools.constraintsolver |
| Modifier and Type | Method and Description |
|---|---|
SWIGTYPE_p_absl__Duration |
RoutingModel.TimeBuffer()
Returns the time buffer to safely return a solution.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
RoutingModel.checkLimit(SWIGTYPE_p_absl__Duration offset)
Returns true if the search limit has been crossed with the given time
offset. |
boolean |
ImprovementSearchLimit.CheckWithOffset(SWIGTYPE_p_absl__Duration offset) |
boolean |
RegularLimit.CheckWithOffset(SWIGTYPE_p_absl__Duration offset) |
boolean |
SearchLimit.CheckWithOffset(SWIGTYPE_p_absl__Duration offset)
Same as Check() but adds the 'offset' value to the current time when time
is considered in the limit. |
protected static long |
SWIGTYPE_p_absl__Duration.getCPtr(SWIGTYPE_p_absl__Duration obj) |
RegularLimit |
Solver.makeLimit(SWIGTYPE_p_absl__Duration time,
long branches,
long failures,
long solutions)
Limits the search with the 'time', 'branches', 'failures' and
'solutions' limits. |
RegularLimit |
Solver.makeLimit(SWIGTYPE_p_absl__Duration time,
long branches,
long failures,
long solutions,
boolean smart_time_check)
Limits the search with the 'time', 'branches', 'failures' and
'solutions' limits. |
RegularLimit |
Solver.makeLimit(SWIGTYPE_p_absl__Duration time,
long branches,
long failures,
long solutions,
boolean smart_time_check,
boolean cumulative)
Limits the search with the 'time', 'branches', 'failures' and
'solutions' limits. |
RegularLimit |
Solver.makeTimeLimit(SWIGTYPE_p_absl__Duration time)
Creates a search limit that constrains the running time.
|
protected static long |
SWIGTYPE_p_absl__Duration.swigRelease(SWIGTYPE_p_absl__Duration obj) |
void |
RegularLimit.UpdateLimits(SWIGTYPE_p_absl__Duration time,
long branches,
long failures,
long solutions) |
void |
RoutingModel.UpdateTimeLimit(SWIGTYPE_p_absl__Duration time_limit)
Updates the time limit of the search limit.
|
| Constructor and Description |
|---|
RegularLimit(Solver s,
SWIGTYPE_p_absl__Duration time,
long branches,
long failures,
long solutions,
boolean smart_time_check,
boolean cumulative) |
Copyright © 2024. All rights reserved.