This method adds a tuple represented by the array array to the tuple set ts.
Namespace: ILOG.CP
Assembly: ILOG.CP (in ILOG.CP.dll)
Syntax
| C# |
|---|
public virtual void AddTuple( IIntTupleSet ts, int[] array ) |
| Visual Basic |
|---|
Public Overridable Sub AddTuple ( _ ts As IIntTupleSet, _ array As Integer() _ ) |
Remarks
If you attempt to add an element that is already in the set, that element will not be added again. Added elements are copied. Concert Technology will throw an exception if the size of the array is not equal to the arity of the invoking set. You may use this method to add tuples to the set in a model; you may not add tuples in this way during a search.