![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
The result of the equality comparison between two Variable.
We use an object here to delay the evaluation of equality so that we can use the operator== in two use-cases:
Definition at line 150 of file variable_and_expressions.h.
#include <variable_and_expressions.h>
Public Member Functions | |
| VariablesEquality (Variable lhs, Variable rhs) | |
| operator bool () const | |
Public Attributes | |
| Variable | lhs |
| Variable | rhs |
|
inline |
Users are not expected to call this constructor. Instead they should only use the overload of operator== that returns this when comparing two Variable. For example x == y.
Definition at line 1660 of file variable_and_expressions.h.
|
inline |
Definition at line 1663 of file variable_and_expressions.h.
| Variable operations_research::math_opt::internal::VariablesEquality::lhs |
Definition at line 156 of file variable_and_expressions.h.
| Variable operations_research::math_opt::internal::VariablesEquality::rhs |
Definition at line 157 of file variable_and_expressions.h.