# CspTerm 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 a variable or function to use in modeling.

**Namespace:**Microsoft.SolverFoundation.Solvers

**Assembly:**Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

The CspTerm type exposes the following members.

Name | Description | |
---|---|---|

CurrentValues | Gets a collection of possible values in the domain of a term. | |

Inputs | Gets an array of input terms. | |

IsBoolean | Gets a value that indicates whether a term is associated with a Boolean domain. | |

Key | Gets or sets an identifier for variable or function terms. | |

Kind | Gets the value kind of a term. | |

Model | Gets the constraint system that a term belongs to. |

Name | Description | |
---|---|---|

Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |

Field(Object) | Returns the first element of a field that is labeled by a key. | |

Field(Object, Int32) | Returns an indexed element of a field that is labeled by a key. | |

Fields | Returns a collection of fields that are labeled by a key. | |

Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |

GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |

GetType | Gets the Type of the current instance. (Inherited from Object.) | |

MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |

ToString | Returns a string that represents the current object. (Inherited from Object.) |

Name | Description | |
---|---|---|

Addition(Double, CspTerm) | Adds a number and a term. | |

Addition(Int32, CspTerm) | Adds an integer and a term. | |

Addition(CspTerm, CspTerm) | Adds two terms. | |

Addition(CspTerm, Double) | Adds a term and a number. | |

Addition(CspTerm, Int32) | Adds a term and an integer. | |

BitwiseAnd | Performs a bitwise AND operation on two terms. | |

BitwiseOr | Performs a bitwise OR operation on two terms. | |

GreaterThan(Double, CspTerm) | Returns a value that indicates whether a number is greater than a term. | |

GreaterThan(Int32, CspTerm) | Returns a value that indicates whether an integer value is greater than a term. | |

GreaterThan(CspTerm, CspTerm) | Returns a value that indicates whether one term is greater than another term. | |

GreaterThan(CspTerm, Double) | Returns a value that indicates whether a term is greater than a number. | |

GreaterThan(CspTerm, Int32) | Returns a value that indicates whether a term is greater than an integer value.. | |

GreaterThanOrEqual(Double, CspTerm) | Returns a value that indicates whether a number is greater than or equal to a term. | |

GreaterThanOrEqual(Int32, CspTerm) | Returns a value that indicates whether an integer value is greater than or equal to a term. | |

GreaterThanOrEqual(CspTerm, CspTerm) | Returns a value that indicates whether one term is greater than or equal to another term. | |

GreaterThanOrEqual(CspTerm, Double) | Returns a value that indicates whether a term is greater than or equal to a number. | |

GreaterThanOrEqual(CspTerm, Int32) | Returns a value that indicates whether a term is greater than or equal to an integer value. | |

LessThan(Double, CspTerm) | Returns a value that indicates whether a number is less than a term. | |

LessThan(Int32, CspTerm) | Returns a value that indicates whether an integer value is less than a term. | |

LessThan(CspTerm, CspTerm) | Returns a value that indicates whether one term is less than another term. | |

LessThan(CspTerm, Double) | Returns a value that indicates whether a term is less than a number. | |

LessThan(CspTerm, Int32) | Returns a value that indicates whether a term is less than an integer value. | |

LessThanOrEqual(Double, CspTerm) | Returns a value that indicates whether a number is less than or equal to a term. | |

LessThanOrEqual(Int32, CspTerm) | Returns a value that indicates whether an integer value is less than or equal to a term. | |

LessThanOrEqual(CspTerm, CspTerm) | Returns a value that indicates whether one term is less than or equal to another term. | |

LessThanOrEqual(CspTerm, Double) | Returns a value that indicates whether a term is less than or equal to a number. | |

LessThanOrEqual(CspTerm, Int32) | Returns a value that indicates whether a term is less than or equal to an integer value. | |

LogicalNot | Performs a logical NOT operation on a term. | |

Multiply(Double, CspTerm) | Multiplies a number by a term. | |

Multiply(Int32, CspTerm) | Multiplies an integer value by a term. | |

Multiply(CspTerm, CspTerm) | Multiplies two terms. | |

Multiply(CspTerm, Double) | Multiplies a term by a number. | |

Multiply(CspTerm, Int32) | Multiplies a term by an integer value. | |

Subtraction(Double, CspTerm) | Subtracts a term from a number. | |

Subtraction(Int32, CspTerm) | Subtracts a term from an integer value. | |

Subtraction(CspTerm, CspTerm) | Subtracts one term from another term. | |

Subtraction(CspTerm, Double) | Subtracts a number from a term. | |

Subtraction(CspTerm, Int32) | Subtracts a number from an integer value. | |

UnaryNegation | Negates a term. |

Show: