SetBuilderKeyHasElementsUntil Method
Finalizes the set builder and returns the resulting set.
The set generates elements in [0, untilExclusive).
For instance, the following set:
int numNodes = 4;
Set i = Set("i").Represents("nodes").HasElementsUntil(numNodes);
has elements { 0, 1, 2, 3 }.
Namespace: Orx.MathProgAssembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
public Set HasElementsUntil(
int untilExclusive
)
- untilExclusive Int32
- Last element (exclusive) of the set.
Set