![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Specialized automaton constraint.
This constraint allows adding transitions to the automaton constraint incrementally.
Definition at line 23 of file AutomatonConstraint.java.
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) |
| 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 () |
| 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.