NO FRAMES

IloUnion

public IloNumToAnySetStepFunction IloUnion(const IloNumToAnySetStepFunction f1, const IloNumToAnySetStepFunction f2)
Definition file: ilconcert/ilosetfunc.h
Represents a function equal to the union of the functions.

This operator creates and returns a function equal to the union of the functions f1 and f2. The argument functions f1 and f2 must be defined on the same interval. The resulting function is defined on the same interval as the arguments. See also: IloNumToAnySetStepFunction.


IloUnion

public IloIntervalList IloUnion(const IloIntervalList intervals1, const IloIntervalList intervals2)
Definition file: ilconcert/ilointervals.h
Creates and returns the union of two interval lists.

This operator creates and returns an interval list equal to the union of the interval lists intervals1 and intervals2. The arguments intervals1 and intervals2 must be defined on the same interval. An instance of IloException is thrown if two intervals with different types overlap. The resulting interval list is defined on the same interval as the arguments. See also: IloIntervalList.