TermModel Methods

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The TermModel type exposes the following members.

  Name Description
Public method AddConstant Adds a constant to a model.
Public method AddGoal Marks a row as a goal row. (Inherited from RowVariableGoalModel.)
Public method AddOperation(TermModelOperation, Int32, Int32) Adds an operation row to a model.
Public method AddOperation(TermModelOperation, Int32, Int32[]) Adds an operation row to a model for operations that take an array of arguments.
Public method AddOperation(TermModelOperation, Int32, Int32, Int32) Adds an operation row for two-operand operations to a model.
Public method AddOperation(TermModelOperation, Int32, Int32, Int32, Int32) Adds an operation row for three-operand operations to a model.
Public method AddRow Adds a row to a model. (Overrides RowVariableModel.AddRow(Object, Int32).)
Public method AddVariable(Object, Int32) Adds a user variable to a model. (Inherited from RowVariableModel.)
Public method AddVariable(Object, Int32, IEnumerable<Rational>) Adds a variable that has a fixed set of possible values to a model.
Public method AddVariable(Object, Int32, Rational, Rational, Boolean) Adds a variable to a model.
Public method ClearGoals Clears all the goals in a model. (Inherited from RowVariableGoalModel.)
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 GetBounds Returns the bounds for a variable. (Inherited from RowVariableModel.)
Public method GetGoalFromIndex Returns a goal entry that is associated with a row index. (Inherited from RowVariableGoalModel.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetIgnoreBounds Returns a value that indicates whether the bounds of a variable are ignored. (Inherited from RowVariableModel.)
Public method GetIndexFromKey Returns the index that is associated with a specified key. (Inherited from RowVariableModel.)
Public method GetIntegrality Returns a value that indicates whether a variable is an integer variable. (Inherited from RowVariableModel.)
Public method GetKeyFromIndex Returns the key that is associated with the specified variable index. (Inherited from RowVariableModel.)
Public method GetOperand Returns an operand that is associated with a row or variable index.
Public method GetOperandCount Returns the number of operands that are associated with a specified row or variable index.
Public method GetOperands Returns all operands that are associated with a row or variable index.
Public method GetOperation Returns the operation that is associated with a row or variable index.
Public method GetProperty Returns the value of a property that is at the specified index. (Inherited from RowVariableModel.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue Returns the value that is associated with the specified variable index. (Inherited from RowVariableModel.)
Public method IsConstant Returns a value that indicates whether a row index is associated with a constant row.
Public method IsGoal(Int32) Returns a value that indicates whether a row index corresponds to a goal row. (Inherited from RowVariableGoalModel.)
Public method IsGoal(Int32, IGoal) Returns a value that indicates whether a row index corresponds to a goal row, and returns the goal entry. (Inherited from RowVariableGoalModel.)
Public method IsOperation Returns a value that indicates whether a specified row index is associated with an operation row.
Public method IsRow Returns a value that indicates whether a variable index corresponds to a row. (Inherited from RowVariableModel.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveGoal Removes a goal row. (Inherited from RowVariableGoalModel.)
Public method SetBounds Sets the bounds for the specified row. (Overrides RowVariableModel.SetBounds(Int32, Rational, Rational).)
Public method SetIgnoreBounds Specifies whether the bounds of a variable should be respected or ignored during a solve attempt. (Inherited from RowVariableModel.)
Public method SetIntegrality Specifies whether a variable is an integer variable. (Inherited from RowVariableModel.)
Public method SetLowerBound Sets or adjusts the lower bound of the specified variable. (Overrides RowVariableModel.SetLowerBound(Int32, Rational).)
Public method SetProperty Sets a property that is at the specified variable index. (Inherited from RowVariableModel.)
Public method SetUpperBound Sets or adjusts the upper bound of the specified variable. (Overrides RowVariableModel.SetUpperBound(Int32, Rational).)
Public method SetValue Sets the value for the specified variable index. (Overrides RowVariableModel.SetValue(Int32, Rational).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetIndexFromKey Attempts to return the variable index that is associated with the specified key. (Inherited from RowVariableModel.)
Top
Show: