Export (0) Print
Expand All

CspSetOperators 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 set operators for models.

System.Object
  Microsoft.SolverFoundation.Solvers.CspSetOperators

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

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class CspSetOperators

The CspSetOperators type exposes the following members.

  NameDescription
Public methodStatic memberCardinalityCounts the number of elements in a set variable.
Public methodStatic memberConstantDecimalSetCreates a constant decimal set.
Public methodStatic memberConstantIntegerSetCreates a constant integer set.
Public methodStatic memberConstantSymbolSetCreates a constant symbol set.
Public methodStatic memberCreatePowerSetCreates a power set to use as the domain for baseline.
Public methodStatic memberDifferenceComputes the difference between two sets.
Public methodStatic memberIntersectionComputes the intersection between two sets.
Public methodStatic memberMemberOf(ConstraintSystem, CspTerm, CspTerm)Creates a term that indicates whether a value is a member of a set variable.
Public methodStatic memberMemberOf(ConstraintSystem, CspTerm, Int32())Creates a term that indicates whether a value is a member of a set.
Public methodStatic memberMemberOf(ConstraintSystem, Int32, CspTerm)Creates a term that indicates whether a value is a member of a set variable.
Public methodStatic memberSetEqual(ConstraintSystem, CspTerm, CspTerm)Creates a term that indicates whether two set variables are equal.
Public methodStatic memberSetEqual(ConstraintSystem, CspTerm, Int32())Creates a term that indicates whether a set variable is equal to a set.
Public methodStatic memberSetEqual(ConstraintSystem, Int32(), CspTerm)Creates a term that indicates whether a set is equal to a set variable.
Public methodStatic memberSubsetEq(ConstraintSystem, CspTerm, CspTerm)Creates a term that indicates if a set variable is a subset of another set variable.
Public methodStatic memberSubsetEq(ConstraintSystem, CspTerm, Int32())Creates a term that indicates if a set variable is a subset of another set.
Public methodStatic memberSubsetEq(ConstraintSystem, Int32(), CspTerm)Creates a term that indicates if a set if a subset of a set variable.
Public methodStatic memberUnionCreates a term that represents the union of two sets.
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:
© 2014 Microsoft