Export (0) Print
Expand All

Literal Structure

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 Boolean variable or the negation of a Boolean variable.

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

public struct Literal : IComparable<Literal>

The Literal type exposes the following members.

  NameDescription
Public methodLiteralInitializes a new instance of the Literal class.
Top

  NameDescription
Public propertyIdGets the identifier of a literal.
Public propertyIsNilGets a value that indicates whether a literal is null.
Public propertySenseGets a value that indicates whether a literal is signed.
Public propertyVarGets the Boolean variable that forms a literal.
Top

  NameDescription
Public methodCompareToCompares one literal to another literal.
Public methodEqualsReturns a value that indicates whether a literal is equal to an object. (Overrides ValueType.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeComputes the hash code of a value. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringConverts the numeric value of the current literal to its equivalent string representation. (Overrides ValueType.ToString().)
Top

  NameDescription
Public operatorStatic memberEqualityReturns a value that indicates whether two literals are equal.
Public operatorStatic memberGreaterThanReturns a value that indicates whether one literal is greater than another literal.
Public operatorStatic memberGreaterThanOrEqualReturns a value that indicates whether one literal is greater than or equal to another literal.
Public operatorStatic memberInequalityReturns a value that indicates whether two literals are unequal.
Public operatorStatic memberLessThanReturns a value that indicates whether one literal is less than another literal.
Public operatorStatic memberLessThanOrEqualReturns a value that indicates whether one literal is less than or equal to another literal.
Public operatorStatic memberOnesComplementReturns the bitwise one's complement of a literal.
Top

  NameDescription
Public fieldStatic memberNilRepresents the null literal.
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