Skip to main content
FRAMES NO FRAMES

Class IlcConstraintArray

Definition file: ilcp/cpext.h
Include file: <ilcp/cpext.h>
Map of IlcConstraintArrayIlcConstraintArrayIlcConstraintArray
The array class for the class IlcConstraint.

The class IlcConstraintArray is the class for an array of instances of IlcConstraint.

For each basic type, CP Optimizer defines a corresponding array class. This array class is a handle class. In other words, an object of this class contains a pointer to another object allocated on the CP Optimizer heap. Exploiting handles in this way greatly simplifies the programming interface since the handle can then be an automatic object: as a developer using handles, you do not have to worry about memory allocation.

See Also: