Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <variable_and_expressions.h>
Public Member Functions | |
VariablesEquality (Variable lhs, Variable rhs) | |
operator bool () const | |
Public Attributes | |
Variable | lhs |
Variable | rhs |
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 170 of file variable_and_expressions.h.
|
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 1736 of file variable_and_expressions.h.
|
inline |
Definition at line 1739 of file variable_and_expressions.h.
Variable operations_research::math_opt::internal::VariablesEquality::lhs |
Definition at line 176 of file variable_and_expressions.h.
Variable operations_research::math_opt::internal::VariablesEquality::rhs |
Definition at line 177 of file variable_and_expressions.h.