![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
AutomatonConstraint (CpModelProto.Builder builder) | |
AutomatonConstraint | addTransition (int tail, int head, long label) |
AutomatonConstraint (CpModelProto.Builder builder) | |
AutomatonConstraint | addTransition (int tail, int head, long label) |
![]() | |
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 automaton constraint.
This constraint allows adding transitions to the automaton constraint incrementally.
Definition at line 23 of file AutomatonConstraint.java.
com.google.ortools.sat.AutomatonConstraint.AutomatonConstraint | ( | CpModelProto.Builder | builder | ) |
Definition at line 24 of file AutomatonConstraint.java.
com.google.ortools.sat.AutomatonConstraint.AutomatonConstraint | ( | CpModelProto.Builder | builder | ) |
Definition at line 24 of file AutomatonConstraint.java.
AutomatonConstraint com.google.ortools.sat.AutomatonConstraint.addTransition | ( | int | tail, |
int | head, | ||
long | label ) |
Adds a transitions to the automaton.
tail | the tail of the transition |
head | the head of the transition |
label | the label of the transition |
Definition at line 36 of file AutomatonConstraint.java.
AutomatonConstraint com.google.ortools.sat.AutomatonConstraint.addTransition | ( | int | tail, |
int | head, | ||
long | label ) |
Adds a transitions to the automaton.
tail | the tail of the transition |
head | the head of the transition |
label | the label of the transition |
Definition at line 36 of file AutomatonConstraint.java.