SetBuilderKeyHasElements(IEnumerableInt32, String) Method
Finalizes the set builder and returns the resulting set.
The set generates elements in indices.
For instance, the following set:
int[] highPriorityIndices = new int[] { 1, 4, 9 };
Set p = Set("p").Represents("prioritized projects").HasElements(highPriorityIndices);
has elements { 1, 4, 9 }.
Namespace: Orx.MathProgAssembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
public Set HasElements(
IEnumerable<int> indices,
string expression = ""
)
- indices IEnumerableInt32
- Indices/elements of the set.
- expression String (Optional)
- Element generator expression.
Set