Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CspListOperators Class

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines list operators for models.

System::Object
  Microsoft.SolverFoundation.Solvers::CspListOperators

Namespace:  Microsoft.SolverFoundation.Solvers
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

[ExtensionAttribute]
public ref class CspListOperators abstract sealed

The CspListOperators type exposes the following members.

  NameDescription
Public methodStatic memberConcatenationConcatenates two input list variables.
Public methodStatic memberConstantDecimalListCreates a constant decimal list.
Public methodStatic memberConstantIntegerListCreates a constant integer list.
Public methodStatic memberConstantSymbolListCreates a constant symbol list.
Public methodStatic memberCreatePowerListCreates a power list to use as the domain for baseline.
Public methodStatic memberElementAtCreates a term that indicates whether the value of listVar[index] is equal to elementToBe.
Public methodStatic memberElementCountCounts the frequency of an element in a list.
Public methodStatic memberFirstOccurrenceCreates a term that indicates whether the first occurrence of element in listVar is equal to indexToBe.
Public methodStatic memberLastOccurrenceCreates a term that indicates whether the last occurrence of element in listVar is equal to indexToBe.
Public methodStatic memberLengthMeasures the length of a list variable.
Public methodStatic memberListEqual(ConstraintSystem, CspTerm, CspTerm)Creates a term that indicates whether two list variables are equal.
Public methodStatic memberListEqual(ConstraintSystem, CspTerm, array<Int32>)Creates a term that indicates whether a list variable is equal to a list.
Public methodStatic memberListEqual(ConstraintSystem, array<Int32>, CspTerm)Creates a term that indicates whether a list is equal to a list variable.
Public methodStatic memberSublistEq(ConstraintSystem, CspTerm, CspTerm)Creates a term that indicates if a list variable is a subset of another list variable.
Public methodStatic memberSublistEq(ConstraintSystem, CspTerm, array<Int32>)Creates a term that indicates if a list variable is a subset of another list.
Public methodStatic memberSublistEq(ConstraintSystem, array<Int32>, CspTerm)Creates a term that indicates if a list if a subset of a list variable.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft