Overview | Group | Tree | Graph | Index | Concepts |
This overloaded C++ operator constrains its two arguments to be equal. In order to be taken into account, this constraint must be added to a model and extracted for an algorithm.
These operators create a new
IloPredicate<IloObject>
instance
by comparing the value returned by an evaluator with either that of
another evaluator or a given value. The semantics of the new
predicate is an equality comparison. The first function creates a
predicate which returns IloTrue
if and only if the
value returned by the left evaluator is equal to the value returned
by the right evaluator. The second function creates a predicate
which returns IloTrue
if and only if the value
returned by the left evaluator is equal to the value given as argument.
The third function creates a predicate that returns
IloTrue
if and only if the value given as argument is equal to
the value returned by the right evaluator.
For more information, see Selectors.
IloTrue
for same interval lists.
This operator returns IloTrue
if the interval lists are the
same. That is, IloTrue
is returned if they have the same
definition interval and if they contain the same intervals. Note that it
compares the content of the interval lists as well as the equality of
implementation pointer. See also
IloIntervalList
.
This operator returns IloTrue
if the functions are the same.
That is, IloTrue
is returned if they have the same definition
interval and if they have the same value over time. Note that it compares
the content of the functions as well as the equality of implementation
pointer. See also: IloNumToAnySetStepFunction
.
This operator compares its arguments and returns IlcTrue
if they are equal;
otherwise, it returns IlcFalse
.
See Also:
IlcRevAny, IlcRevBool, IlcRevFloat, IlcRevInt, IlcIntToIntStepFunction
This operator creates and returns an equality constraint between its arguments.
If one or both of its arguments are constrained set variables (instances of
IlcAnySetVar
or IlcIntSetVar
or their subclasses), then when
you post this constraint, the sets are replaced by their intersection. The constraint
is stored so that any modification of one of those constrained set variables is propagated
to the other.
If one or both of its arguments are constrained floating-point or integer variables,
then when you post this constraint, it will be associated with the whenRange
propagation event.
When both of its arguments are constraints (instances of IlcConstraint
),
then the constraint that this operator creates and returns forces its two arguments to be equivalent.
When you create a constraint, it has no effect until you post it.
See Also:
IlcAnyExp, IlcAnySetVar, IlcConstraint, IlcFloatExp, IlcIntExp, IlcIntSetVar
This overloaded C++ operator constrains its two arguments to be equal. In order to be taken into account, this constraint must be added to a model and extracted for an algorithm.
This operator returns IloTrue
if the functions
f1
and f2
are the same. That is,
IloTrue
is returned if they have the same definition interval
and if they have the same value over time. Note that it compares the content
of the functions as well as the equality of implementation pointer. See
also: IloNumToNumStepFunction
.