CspListOperators Class
[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.
Inheritance Hierarchy
System.Object
Microsoft.SolverFoundation.Solvers.CspListOperators
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class CspListOperators
public static class CspListOperators
[ExtensionAttribute]
public ref class CspListOperators abstract sealed
[<AbstractClass>]
[<Sealed>]
type CspListOperators = class end
public final class CspListOperators
The CspListOperators type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() |
Concatenation | Concatenates two input list variables. |
![]() ![]() |
ConstantDecimalList | Creates a constant decimal list. |
![]() ![]() |
ConstantIntegerList | Creates a constant integer list. |
![]() ![]() |
ConstantSymbolList | Creates a constant symbol list. |
![]() ![]() |
CreatePowerList | Creates a power list to use as the domain for baseline. |
![]() ![]() |
ElementAt | Creates a term that indicates whether the value of listVar[index] is equal to elementToBe. |
![]() ![]() |
ElementCount | Counts the frequency of an element in a list. |
![]() ![]() |
FirstOccurrence | Creates a term that indicates whether the first occurrence of element in listVar is equal to indexToBe. |
![]() ![]() |
LastOccurrence | Creates a term that indicates whether the last occurrence of element in listVar is equal to indexToBe. |
![]() ![]() |
Length | Measures the length of a list variable. |
![]() ![]() |
ListEqual(ConstraintSystem, CspTerm, CspTerm) | Creates a term that indicates whether two list variables are equal. |
![]() ![]() |
ListEqual(ConstraintSystem, CspTerm, Int32()) | Creates a term that indicates whether a list variable is equal to a list. |
![]() ![]() |
ListEqual(ConstraintSystem, Int32(), CspTerm) | Creates a term that indicates whether a list is equal to a list variable. |
![]() ![]() |
SublistEq(ConstraintSystem, CspTerm, CspTerm) | Creates a term that indicates if a list variable is a subset of another list variable. |
![]() ![]() |
SublistEq(ConstraintSystem, CspTerm, Int32()) | Creates a term that indicates if a list variable is a subset of another list. |
![]() ![]() |
SublistEq(ConstraintSystem, Int32(), CspTerm) | Creates a term that indicates if a list if a subset of a list variable. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.