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
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString() Returns a string that represents the current object. (Inherited from Object.)
Public method ToString(String, IFormatProvider) Converts a term to its equivalent string representation.

Top

Operators

  Name Description
Public operatorStatic member Addition Adds two terms.
Public operatorStatic member BitwiseAnd Performs a bitwise AND operation on two terms.
Public operatorStatic member BitwiseOr Performs a bitwise OR operation on two terms.
Public operatorStatic member Division Divides one term by another term.
Public operatorStatic member Equality(String, Term) Tests a string and a term for equality.
Public operatorStatic member Equality(Term, Term) Tests two terms for equality.
Public operatorStatic member Equality(Term, String) Tests a term and string for equality.
Public operatorStatic member GreaterThan Tests whether one term is greater than another term.
Public operatorStatic member GreaterThanOrEqual Tests whether one term is greater than or equal to another term.
Public operatorStatic member Implicit(Boolean to Term) Converts a Boolean to a term.
Public operatorStatic member Implicit(Double to Term) Converts a Double to a term.
Public operatorStatic member Implicit(String to Term) Converts a String to a term.
Public operatorStatic member Implicit(Rational to Term) Converts a rational number to a term.
Public operatorStatic member Inequality(String, Term) Tests a string and a term for inequality.
Public operatorStatic member Inequality(Term, Term) Tests two terms for inequality.
Public operatorStatic member Inequality(Term, String) Tests a term and a string for inequality.
Public operatorStatic member LessThan Tests whether one term is less than another term.
Public operatorStatic member LessThanOrEqual Tests whether one term is less than or equal to another term.
Public operatorStatic member LogicalNot Performs a Boolean negation operation on a term.
Public operatorStatic member Multiply Multiplies two terms.
Public operatorStatic member Subtraction Subtracts one term from another term.
Public operatorStatic member 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.

See Also

Reference

Microsoft.SolverFoundation.Services Namespace