Equality Operator (Variable, Term)

Fabrica Bolos GLPK

Collapse imageExpand ImageCopy imageCopyHover image
Implements the operator ==.

Namespace: Optimization
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0

Syntax

C#
public static Constraint operator ==(
	Variable variable,
	Term term
)
Visual Basic
Public Shared Operator = ( _
	variable As Variable, _
	term As Term _
) As Constraint
Visual C++
public:
static Constraint^ operator ==(
	Variable^ variable, 
	Term^ term
)

Parameters

variable
Type: Optimization..::..Variable
The variable.
term
Type: Optimization..::..Term
The term.

Return Value

The result of the operator.

Contracts

Requires
!variable.Equals(null)
(Object)term != null
Ensures
Contract.Result<Constraint>() != null

See Also