Term Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Defines any decision, formula, goal, or constraint in a model.
Inheritance Hierarchy
System.Object
Microsoft.SolverFoundation.Services.Term
Microsoft.SolverFoundation.Services.Decision
Microsoft.SolverFoundation.Services.Parameter
Microsoft.SolverFoundation.Services.RandomParameter
Microsoft.SolverFoundation.Services.RecourseDecision
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public MustInherit Class Term _
Implements IFormattable
public abstract class Term : IFormattable
public ref class Term abstract : IFormattable
[<AbstractClass>]
type Term =
class
interface IFormattable
end
public abstract class Term implements IFormattable
The Term type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
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.) | |
ToString(String, IFormatProvider) | Converts a term to its equivalent string representation. |
Top
Operators
Name | Description | |
---|---|---|
Addition | Adds two terms. | |
BitwiseAnd | Performs a bitwise AND operation on two terms. | |
BitwiseOr | Performs a bitwise OR operation on two terms. | |
Division | Divides one term by another term. | |
Equality(String, Term) | Tests a string and a term for equality. | |
Equality(Term, Term) | Tests two terms for equality. | |
Equality(Term, String) | Tests a term and string for equality. | |
GreaterThan | Tests whether one term is greater than another term. | |
GreaterThanOrEqual | Tests whether one term is greater than or equal to another term. | |
Implicit(Boolean to Term) | Converts a Boolean to a term. | |
Implicit(Double to Term) | Converts a Double to a term. | |
Implicit(String to Term) | Converts a String to a term. | |
Implicit(Rational to Term) | Converts a rational number to a term. | |
Inequality(String, Term) | Tests a string and a term for inequality. | |
Inequality(Term, Term) | Tests two terms for inequality. | |
Inequality(Term, String) | Tests a term and a string for inequality. | |
LessThan | Tests whether one term is less than another term. | |
LessThanOrEqual | Tests whether one term is less than or equal to another term. | |
LogicalNot | Performs a Boolean negation operation on a term. | |
Multiply | Multiplies two terms. | |
Subtraction | Subtracts one term from another term. | |
UnaryNegation | Negates a term. |
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.