| Package | Description |
|---|---|
| com.google.ortools.constraintsolver |
| Modifier and Type | Class and Description |
|---|---|
class |
Assignment
An Assignment is a variable -> domains mapping, used
to report solutions to the user. |
class |
BaseIntExpr |
class |
BooleanVar |
class |
CastConstraint
Cast constraints are special channeling constraints designed
to keep a variable in sync with an expression. |
class |
Constraint
A constraint is the main modeling object.
|
class |
DisjunctiveConstraint |
class |
GlobalVehicleBreaksConstraint
GlobalVehicleBreaksConstraint ensures breaks constraints are enforced on
all vehicles in the dimension passed to its constructor. It is intended to be used for dimensions representing time. A break constraint ensures break intervals fit on the route of a vehicle. For a given vehicle, it forces break intervals to be disjoint from visit intervals, where visit intervals start at CumulVar(node) and last for node_visit_transit[node]. |
class |
IntervalVar
Interval variables are often used in scheduling.
|
class |
IntExpr
The class IntExpr is the base of all integer expressions in
constraint programming. It contains the basic protocol for an expression: - setting and modifying its bound - querying if it is bound - listening to events modifying its bounds - casting it into a variable (instance of IntVar) |
class |
IntVar
The class IntVar is a subset of IntExpr.
|
class |
Pack |
class |
SequenceVar
A sequence variable is a variable whose domain is a set of possible
orderings of the interval variables. |
class |
TypeRegulationsConstraint
The following constraint ensures that incompatibilities and requirements
between types are respected. It verifies both "hard" and "temporal" incompatibilities. Two nodes with hard incompatible types cannot be served by the same vehicle at all, while with a temporal incompatibility they can't be on the same route at the same time. The VisitTypePolicy of a node determines how visiting it impacts the type count on the route. For example, for - three temporally incompatible types T1 T2 and T3 - 2 pairs of nodes a1/r1 and a2/r2 of type T1 and T2 respectively, with - a1 and a2 of VisitTypePolicy TYPE_ADDED_TO_VEHICLE - r1 and r2 of policy ADDED_TYPE_REMOVED_FROM_VEHICLE - 3 nodes A, UV and AR of type T3, respectively with type policies TYPE_ADDED_TO_VEHICLE, TYPE_ON_VEHICLE_UP_TO_VISIT and TYPE_SIMULTANEOUSLY_ADDED_AND_REMOVED the configurations UV --> a1 --> r1 --> a2 --> r2, a1 --> r1 --> a2 --> r2 --> A and a1 --> r1 --> AR --> a2 --> r2 are acceptable, whereas the configurations a1 --> a2 --> r1 --> ..., or A --> a1 --> r1 --> ..., or a1 --> r1 --> UV --> ... |
| Modifier and Type | Method and Description |
|---|---|
protected static long |
PropagationBaseObject.getCPtr(PropagationBaseObject obj) |
boolean |
Solver.hasName(PropagationBaseObject object)
Returns whether the object has been named or not.
|
static java.lang.String |
mainJNI.PropagationBaseObject_baseName(long jarg1,
PropagationBaseObject jarg1_) |
static void |
mainJNI.PropagationBaseObject_enqueueDelayedDemon(long jarg1,
PropagationBaseObject jarg1_,
long jarg2,
Demon jarg2_) |
static void |
mainJNI.PropagationBaseObject_enqueueVar(long jarg1,
PropagationBaseObject jarg1_,
long jarg2,
Demon jarg2_) |
static void |
mainJNI.PropagationBaseObject_freezeQueue(long jarg1,
PropagationBaseObject jarg1_) |
static boolean |
mainJNI.PropagationBaseObject_hasName(long jarg1,
PropagationBaseObject jarg1_) |
static java.lang.String |
mainJNI.PropagationBaseObject_name(long jarg1,
PropagationBaseObject jarg1_) |
static void |
mainJNI.PropagationBaseObject_reset_action_on_fail(long jarg1,
PropagationBaseObject jarg1_) |
static void |
mainJNI.PropagationBaseObject_set_variable_to_clean_on_fail(long jarg1,
PropagationBaseObject jarg1_,
long jarg2,
IntVar jarg2_) |
static void |
mainJNI.PropagationBaseObject_setName(long jarg1,
PropagationBaseObject jarg1_,
java.lang.String jarg2) |
static long |
mainJNI.PropagationBaseObject_solver(long jarg1,
PropagationBaseObject jarg1_) |
static java.lang.String |
mainJNI.PropagationBaseObject_toString(long jarg1,
PropagationBaseObject jarg1_) |
static void |
mainJNI.PropagationBaseObject_unfreezeQueue(long jarg1,
PropagationBaseObject jarg1_) |
static boolean |
mainJNI.Solver_hasName(long jarg1,
Solver jarg1_,
long jarg2,
PropagationBaseObject jarg2_) |
protected static long |
PropagationBaseObject.swigRelease(PropagationBaseObject obj) |
Copyright © 2024. All rights reserved.