Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <integer_search.h>
Public Member Functions | |
BooleanOrIntegerLiteral ()=default | |
BooleanOrIntegerLiteral (LiteralIndex index) | |
BooleanOrIntegerLiteral (IntegerLiteral i_lit) | |
bool | HasValue () const |
Public Attributes | |
LiteralIndex | boolean_literal_index = kNoLiteralIndex |
IntegerLiteral | integer_literal = IntegerLiteral() |
This is used to hold the next decision the solver will take. It is either a pure Boolean literal decision or correspond to an IntegerLiteral one.
At most one of the two options should be set.
Definition at line 56 of file integer_search.h.
|
default |
|
inlineexplicit |
Definition at line 58 of file integer_search.h.
|
inlineexplicit |
Definition at line 60 of file integer_search.h.
|
inline |
Definition at line 63 of file integer_search.h.
LiteralIndex operations_research::sat::BooleanOrIntegerLiteral::boolean_literal_index = kNoLiteralIndex |
Definition at line 68 of file integer_search.h.
IntegerLiteral operations_research::sat::BooleanOrIntegerLiteral::integer_literal = IntegerLiteral() |
Definition at line 69 of file integer_search.h.