Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
MultipleCircuitConstraint (CpModelProto.Builder builder) | |
MultipleCircuitConstraint | addArc (int tail, int head, Literal literal) |
MultipleCircuitConstraint (CpModelProto.Builder builder) | |
MultipleCircuitConstraint | addArc (int tail, int head, Literal literal) |
Public Member Functions inherited from com.google.ortools.sat.Constraint | |
Constraint (CpModelProto.Builder builder) | |
void | onlyEnforceIf (Literal lit) |
void | onlyEnforceIf (Literal[] lits) |
int | getIndex () |
ConstraintProto.Builder | getBuilder () |
Constraint (CpModelProto.Builder builder) | |
void | onlyEnforceIf (Literal lit) |
void | onlyEnforceIf (Literal[] lits) |
int | getIndex () |
ConstraintProto.Builder | getBuilder () |
Specialized multiple circuit constraint.
This constraint allows adding arcs to the multiple circuit constraint incrementally.
Definition at line 24 of file MultipleCircuitConstraint.java.
com.google.ortools.sat.MultipleCircuitConstraint.MultipleCircuitConstraint | ( | CpModelProto.Builder | builder | ) |
Definition at line 25 of file MultipleCircuitConstraint.java.
com.google.ortools.sat.MultipleCircuitConstraint.MultipleCircuitConstraint | ( | CpModelProto.Builder | builder | ) |
Definition at line 25 of file MultipleCircuitConstraint.java.
MultipleCircuitConstraint com.google.ortools.sat.MultipleCircuitConstraint.addArc | ( | int | tail, |
int | head, | ||
Literal | literal ) |
Add an arc to the graph of the multiple circuit constraint.
tail | the index of the tail node. |
head | the index of the head node. |
literal | it will be set to true if the arc is selected. |
Definition at line 36 of file MultipleCircuitConstraint.java.
MultipleCircuitConstraint com.google.ortools.sat.MultipleCircuitConstraint.addArc | ( | int | tail, |
int | head, | ||
Literal | literal ) |
Add an arc to the graph of the multiple circuit constraint.
tail | the index of the tail node. |
head | the index of the head node. |
literal | it will be set to true if the arc is selected. |
Definition at line 36 of file MultipleCircuitConstraint.java.