Skip to main content
FRAMES NO FRAMES

Class IlcIntSetArray

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

An instance of IlcIntSetArray represents an array of sets, instances of IlcIntSet.

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:

Method Summary
public IlcIntSetArray(IlcCPEngine solver, IlcInt size, IlcIntArray array)
Method Detail

IlcIntSetArray

public IlcIntSetArray(IlcCPEngine solver, IlcInt size, IlcIntArray array)

This constructor creates an array of sets; the length of that array is size; its elements are initialized with the values indicated by array.