Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
public static class CspListOperators

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, Int32[])Creates a term that indicates whether a list variable is equal to a list.
Public methodStatic memberListEqual(ConstraintSystem, 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, Int32[])Creates a term that indicates if a list variable is a subset of another list.
Public methodStatic memberSublistEq(ConstraintSystem, 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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.